From d8805af66bb876d762248d1695872eca3296f0e6 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 17 Mar 2012 22:56:04 +0000 Subject: On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for scrolling the region in panes (if the large region check isn't hit). With help from Ailin Nemui. --- tty-keys.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tty-keys.c') diff --git a/tty-keys.c b/tty-keys.c index 37265dce..c5b85ce1 100644 --- a/tty-keys.c +++ b/tty-keys.c @@ -728,8 +728,7 @@ tty_keys_device(struct tty *tty, const char *buf, size_t len, size_t *size) a = b = 0; log_debug("received xterm version %u", b); - if (tty->xterm_version == 0) - tty->xterm_version = b; + tty_set_version(tty, b); return (0); } -- cgit