diff options
author | Gregory Anders <greg@gpanders.com> | 2023-11-01 08:24:35 -0500 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2023-11-17 13:37:33 -0600 |
commit | 89dd939c154d11a7bbb41ac5defb87b13ca10b60 (patch) | |
tree | b04c3b5515720c6d74499c393bf45cf71b9a478a /runtime/lua/vim/_meta/options.lua | |
parent | 4972c80489af263c96865c43615bea0977a18b77 (diff) | |
download | rneovim-89dd939c154d11a7bbb41ac5defb87b13ca10b60.tar.gz rneovim-89dd939c154d11a7bbb41ac5defb87b13ca10b60.tar.bz2 rneovim-89dd939c154d11a7bbb41ac5defb87b13ca10b60.zip |
refactor(tui): refactor Kitty keyboard query implementation
Refactor our implementation of querying for Kitty keyboard protocol
support:
- Remove usage of the "extkeys" term. This is not standard or really
used elsewhere. Use "key encoding" instead
- Replace usages of "CSIu" with "Kitty". "Kitty keyboard protocol" is
vastly more common than "CSIu" now
- Replace the countdown response counter with a simple boolean flag. We
don't actually need a countdown counter because we request the primary
device attributes along with the Kitty keyboard query, so we will
always receive a "terminating event", making a countdown/timer
unnecessary
- Move the CSI response handling into a dedicated function
- Bypass Unibilium for sending key encoding escape sequences. These
sequences are not part of terminfo and do not have any parameters, so
there's no reason to go through Unibilium
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
0 files changed, 0 insertions, 0 deletions