summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-clock.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-02-05 11:08:59 +0000
committernicm <nicm@openbsd.org>2013-02-05 11:08:59 +0000
commitdb4b44a2de4a88b33394b2dfe18c2ddb64d723b4 (patch)
tree488e610f00d3bf8a4d533838d2234a6062a8f22b /usr.bin/tmux/window-clock.c
parentDon't set some string formats if the string is NULL. (diff)
downloadwireguard-openbsd-db4b44a2de4a88b33394b2dfe18c2ddb64d723b4.tar.xz
wireguard-openbsd-db4b44a2de4a88b33394b2dfe18c2ddb64d723b4.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 'usr.bin/tmux/window-clock.c')
-rw-r--r--usr.bin/tmux/window-clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-clock.c b/usr.bin/tmux/window-clock.c
index 97ac5c00cdf..7cdc1a4c91d 100644
--- a/usr.bin/tmux/window-clock.c
+++ b/usr.bin/tmux/window-clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-clock.c,v 1.7 2012/07/10 11:53:01 nicm Exp $ */
+/* $OpenBSD: window-clock.c,v 1.8 2013/02/05 11:08:59 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);
}