mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Add support for the iTerm2 sychronized updates escape sequence which
drastically reduces flickering.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user