diff options
author | 2017-05-31 11:00:00 +0000 | |
---|---|---|
committer | 2017-05-31 11:00:00 +0000 | |
commit | a964dcbe1c4cd2fb6a13aa76b8f05946e0db0ea5 (patch) | |
tree | 2e1f46762407ccc2f32f03926ba716959fe34087 /usr.bin/tmux/tmux.h | |
parent | make sure we don't pass a NULL string to vfprintf (triggered by the (diff) | |
download | wireguard-openbsd-a964dcbe1c4cd2fb6a13aa76b8f05946e0db0ea5.tar.xz wireguard-openbsd-a964dcbe1c4cd2fb6a13aa76b8f05946e0db0ea5.zip |
Some applications like vi(1) and tmux until 10 minutes or so ago, do not
redraw on SIGWINCH if the size returns to the original size between the
original SIGWINCH and when they get around to calling TIOCGWINSZ. So use
the existing resize timer to introduce a small delay between the two
resizes.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 4253d4d96f7..6c72939808a 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.778 2017/05/31 10:29:15 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.779 2017/05/31 11:00:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -756,9 +756,10 @@ struct window_pane { #define PANE_DROP 0x2 #define PANE_FOCUSED 0x4 #define PANE_RESIZE 0x8 -#define PANE_FOCUSPUSH 0x10 -#define PANE_INPUTOFF 0x20 -#define PANE_CHANGED 0x40 +#define PANE_RESIZEFORCE 0x10 +#define PANE_FOCUSPUSH 0x20 +#define PANE_INPUTOFF 0x40 +#define PANE_CHANGED 0x80 int argc; char **argv; |