diff options
author | Gregory Anders <greg@gpanders.com> | 2024-12-31 12:16:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-31 12:16:25 -0600 |
commit | b5cb69f8a4a310fb3f18e79bcf5c7ed41d635a48 (patch) | |
tree | d8ee38a615937377f1fd9f4a4fb067f234672480 /runtime/lua/vim/_meta/json.lua | |
parent | a389dc2f950ef89492dfc2d8334e421d2252cddf (diff) | |
download | rneovim-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 'runtime/lua/vim/_meta/json.lua')
0 files changed, 0 insertions, 0 deletions