From b2443aa2f98c1a1fa5d53d4e79a3e7fd221cc365 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 16 Apr 2020 13:35:24 +0000 Subject: Add support for the iTerm2 sychronized updates escape sequence which drastically reduces flickering. --- tty-keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty-keys.c') diff --git a/tty-keys.c b/tty-keys.c index 064f2172..1fcc74b8 100644 --- a/tty-keys.c +++ b/tty-keys.c @@ -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); -- cgit