diff options
author | 2017-02-03 21:01:02 +0000 | |
---|---|---|
committer | 2017-02-03 21:01:02 +0000 | |
commit | e62b76d68c2a7764e94b611aec25daacfc17e83d (patch) | |
tree | 3435cf3334d61a1a9c733d373b1573f05f95975b /usr.bin/tmux/resize.c | |
parent | Expand lines more aggressively to reduce rate of allocations. (diff) | |
download | wireguard-openbsd-e62b76d68c2a7764e94b611aec25daacfc17e83d.tar.xz wireguard-openbsd-e62b76d68c2a7764e94b611aec25daacfc17e83d.zip |
Cache status line position to reduce option lookups during output.
Diffstat (limited to 'usr.bin/tmux/resize.c')
-rw-r--r-- | usr.bin/tmux/resize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/resize.c b/usr.bin/tmux/resize.c index 11c261e786e..55d846e107e 100644 --- a/usr.bin/tmux/resize.c +++ b/usr.bin/tmux/resize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resize.c,v 1.20 2016/10/16 22:06:40 nicm Exp $ */ +/* $OpenBSD: resize.c,v 1.21 2017/02/03 21:01:02 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -89,6 +89,8 @@ recalculate_sizes(void) s->sx = ssx; s->sy = ssy; + + status_update_saved(s); } RB_FOREACH(w, windows, &windows) { |