summaryrefslogtreecommitdiffstats
path: root/window-clock.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-02-05 11:08:59 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-02-05 11:08:59 +0000
commit8903c1f167839569b7514508b38988aa6486575c (patch)
tree8f57ca70d42fa94d4bbef04341b6ecac62f1b7f9 /window-clock.c
parenta5521597b0e0771d5ad698bba92801ea88302c4f (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-clock.c')
-rw-r--r--window-clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-clock.c b/window-clock.c
index b6dc87e9..4cbe76a5 100644
--- a/window-clock.c
+++ b/window-clock.c
@@ -79,7 +79,7 @@ window_clock_resize(struct window_pane *wp, u_int sx, u_int sy)
struct window_clock_mode_data *data = wp->modedata;
struct screen *s = &data->screen;
- screen_resize(s, sx, sy);
+ screen_resize(s, sx, sy, 0);
window_clock_draw_screen(wp);
}