If a mouse position was above the maximum supported by the normal mouse
commit2b60ff588ebc26258848fa9d89a6e32e46eeba58
authornicm <nicm>
Mon, 30 May 2022 13:02:55 +0000 (30 13:02 +0000)
committernicm <nicm>
Mon, 30 May 2022 13:02:55 +0000 (30 13:02 +0000)
treefd0601ee36d97121b5351561e402749e85aaf563
parentcd89000c1d75d0cfec28cf7e81b06f80a43ea093
If a mouse position was above the maximum supported by the normal mouse
protocol (223), tmux was allowing it to wrap around. However, since tmux
was not correctly handling this on input, other programs also do not
handle it correctly, and the alternative SGR mouse mode is now
widespread, this seems unnecessary, so remove this feature. Also define
some constants to make it clearer what the numbers mean. Mostly from
Leonid S Usov in GitHub issue 3165.
input-keys.c
tmux.h
tty-keys.c