diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 22:56:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 22:56:04 +0000 |
commit | d8805af66bb876d762248d1695872eca3296f0e6 (patch) | |
tree | 7c152fcb1921509834e88c6ada100c1f969412a9 /tty-keys.c | |
parent | 46210344a62b079ff61435b978da41a0f92caf3a (diff) |
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.
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } |