aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/json_spec.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2024-12-31 12:16:25 -0600
committerGitHub <noreply@github.com>2024-12-31 12:16:25 -0600
commitb5cb69f8a4a310fb3f18e79bcf5c7ed41d635a48 (patch)
treed8ee38a615937377f1fd9f4a4fb067f234672480 /test/functional/lua/json_spec.lua
parenta389dc2f950ef89492dfc2d8334e421d2252cddf (diff)
downloadrneovim-b5cb69f8a4a310fb3f18e79bcf5c7ed41d635a48.tar.gz
rneovim-b5cb69f8a4a310fb3f18e79bcf5c7ed41d635a48.tar.bz2
rneovim-b5cb69f8a4a310fb3f18e79bcf5c7ed41d635a48.zip
fix(tui): handle key events for arrow and function keys (#31804)
Arrow and function keys do not use CSI u with the kitty keyboard protocol. For example, the Up arrow key uses CSI A, and the function keys use a variety of different CSI sequences. Until now, termkey only parsed subparams used by key events for CSI u sequences. The result being that any key which did not use CSI u (e.g. arrow and function keys) was being emitted twice by termkey since it was not recognizing the separate press and release events. This commit makes termkey also parse subparams for other key sequences so that the release key events do not send duplicate keys.
Diffstat (limited to 'test/functional/lua/json_spec.lua')
0 files changed, 0 insertions, 0 deletions