diff options
author | nicm <nicm> | 2020-04-16 13:35:24 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-16 13:35:24 +0000 |
commit | b2443aa2f98c1a1fa5d53d4e79a3e7fd221cc365 (patch) | |
tree | 3cc90dfb69ef9c9c6c340639196da2815e9cf4de /tty-keys.c | |
parent | a2e47b527986af6140a9dfa43c9448347dc0a050 (diff) | |
download | rtmux-b2443aa2f98c1a1fa5d53d4e79a3e7fd221cc365.tar.gz rtmux-b2443aa2f98c1a1fa5d53d4e79a3e7fd221cc365.tar.bz2 rtmux-b2443aa2f98c1a1fa5d53d4e79a3e7fd221cc365.zip |
Add support for the iTerm2 sychronized updates escape sequence which
drastically reduces flickering.
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1117,7 +1117,7 @@ tty_keys_device_status_report(struct tty *tty, const char *buf, size_t len, /* Set terminal flags. */ if (strncmp(tmp, "ITERM2 ", 7) == 0) - flags |= (TERM_DECSLRM|TERM_256COLOURS|TERM_RGBCOLOURS); + flags |= (TERM_DECSLRM|TERM_256COLOURS|TERM_RGBCOLOURS|TERM_SYNC); if (strncmp(tmp, "TMUX ", 5) == 0) flags |= (TERM_256COLOURS|TERM_RGBCOLOURS); log_debug("%s: received DSR %.*s", c->name, (int)*size, buf); |