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-copy.c | |
parent | a5521597b0e0771d5ad698bba92801ea88302c4f (diff) | |
download | rtmux-8903c1f167839569b7514508b38988aa6486575c.tar.gz rtmux-8903c1f167839569b7514508b38988aa6486575c.tar.bz2 rtmux-8903c1f167839569b7514508b38988aa6486575c.zip |
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-copy.c')
-rw-r--r-- | window-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-copy.c b/window-copy.c index 79d0c6ed..1d6b8f67 100644 --- a/window-copy.c +++ b/window-copy.c @@ -335,9 +335,9 @@ window_copy_resize(struct window_pane *wp, u_int sx, u_int sy) struct screen *s = &data->screen; struct screen_write_ctx ctx; - screen_resize(s, sx, sy); + screen_resize(s, sx, sy, 0); if (data->backing != &wp->base) - screen_resize(data->backing, sx, sy); + screen_resize(data->backing, sx, sy, 0); if (data->cy > sy - 1) data->cy = sy - 1; |