diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-02-05 11:08:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-02-05 11:08:59 +0000 |
commit | 8903c1f167839569b7514508b38988aa6486575c (patch) | |
tree | 8f57ca70d42fa94d4bbef04341b6ecac62f1b7f9 /window-choose.c | |
parent | a5521597b0e0771d5ad698bba92801ea88302c4f (diff) |
Automatically reflow wrapped lines when a pane is resized, requested by
many over the years and finally implemented by Richard Woodbury.
Diffstat (limited to 'window-choose.c')
-rw-r--r-- | window-choose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window-choose.c b/window-choose.c index 20482a66..dce026ec 100644 --- a/window-choose.c +++ b/window-choose.c @@ -203,7 +203,7 @@ window_choose_resize(struct window_pane *wp, u_int sx, u_int sy) if (data->selected > sy - 1) data->top = data->selected - (sy - 1); - screen_resize(s, sx, sy); + screen_resize(s, sx, sy, 0); window_choose_redraw_screen(wp); } |