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.
This commit is contained in:
nicm
2017-05-31 11:00:00 +00:00
parent ea6428a5d2
commit d60663ea86
2 changed files with 44 additions and 22 deletions

7
tmux.h
View File

@ -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;