resize edit pane + linewrap