aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/buffer_spec.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2025-01-15 11:07:51 -0600
committerGregory Anders <greg@gpanders.com>2025-01-16 16:41:08 -0600
commit6f0bde11ccd82d257fcda25ecad26227eba3335e (patch)
tree846d1ac87aa3ef423f441414934a9a4ba50f45f8 /test/functional/terminal/buffer_spec.lua
parentbbf36ef8ef86534e317e4e0153730a40ae4c936e (diff)
downloadrneovim-6f0bde11ccd82d257fcda25ecad26227eba3335e.tar.gz
rneovim-6f0bde11ccd82d257fcda25ecad26227eba3335e.tar.bz2
rneovim-6f0bde11ccd82d257fcda25ecad26227eba3335e.zip
feat(terminal): add support for kitty keyboard protocol
This commit adds basic support for the kitty keyboard protocol to Neovim's builtin terminal. For now only the first mode ("Disambiguate escape codes") is supported.
Diffstat (limited to 'test/functional/terminal/buffer_spec.lua')
-rw-r--r--test/functional/terminal/buffer_spec.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua
index 66b75a4ea2..a524e49ef4 100644
--- a/test/functional/terminal/buffer_spec.lua
+++ b/test/functional/terminal/buffer_spec.lua
@@ -629,6 +629,14 @@ describe('terminal input', function()
-- TODO(bfredl): getcharstr() erases the distinction between <C-I> and <Tab>.
-- If it was enhanced or replaced this could get folded into the test above.
it('can send TAB/C-I and ESC/C-[ separately', function()
+ if
+ skip(
+ is_os('win'),
+ "The escape sequence to enable kitty keyboard mode doesn't work on Windows"
+ )
+ then
+ return
+ end
clear()
local screen = tt.setup_child_nvim({
'-u',