diff options
author | nicm <nicm> | 2023-09-02 20:03:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-09-02 20:03:10 +0000 |
commit | c767d62329597b9152c0e1b33ba2656be8e0bced (patch) | |
tree | 7c77bac80c8bb111081a3e64d2b93c797b459a59 /tmux.h | |
parent | d209fe9b1ef5cf135f86058942e3caa6f998038c (diff) |
Request terminal colours again on SIGWINCH but at most once every 30
seconds, GitHub issue 3582.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1386,6 +1386,7 @@ struct tty { struct client *client; struct event start_timer; struct event clipboard_timer; + time_t last_requests; u_int sx; u_int sy; @@ -1437,10 +1438,8 @@ struct tty { #define TTY_HAVEXDA 0x200 #define TTY_SYNCING 0x400 #define TTY_HAVEDA2 0x800 /* Secondary DA. */ -#define TTY_HAVEFG 0x1000 -#define TTY_HAVEBG 0x2000 #define TTY_ALL_REQUEST_FLAGS \ - (TTY_HAVEDA|TTY_HAVEDA2|TTY_HAVEXDA|TTY_HAVEFG|TTY_HAVEBG) + (TTY_HAVEDA|TTY_HAVEDA2|TTY_HAVEXDA) int flags; struct tty_term *term; @@ -2333,6 +2332,7 @@ void tty_resize(struct tty *); void tty_set_size(struct tty *, u_int, u_int, u_int, u_int); void tty_start_tty(struct tty *); void tty_send_requests(struct tty *); +void tty_repeat_requests(struct tty *); void tty_stop_tty(struct tty *); void tty_set_title(struct tty *, const char *); void tty_set_path(struct tty *, const char *); |