mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
xterm won't reach version 500 for a while so set that as the upper limit.
This commit is contained in:
parent
58e8e0eac8
commit
d39c58c01c
@ -734,6 +734,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 (b < 500)
|
||||
tty_set_version(tty, b);
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user