aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-05-31 11:00:00 +0000
committernicm <nicm>2017-05-31 11:00:00 +0000
commitd60663ea8664d1c71def883bd64d97af3f791f89 (patch)
treeb526707c5e187f1812f49017c2f356013245ac33 /tmux.h
parentea6428a5d2c3c753c3123b3ecace7357e97eae50 (diff)
downloadrtmux-d60663ea8664d1c71def883bd64d97af3f791f89.tar.gz
rtmux-d60663ea8664d1c71def883bd64d97af3f791f89.tar.bz2
rtmux-d60663ea8664d1c71def883bd64d97af3f791f89.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 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 79ae8ddc..b47a6911 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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;