aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-01-21 18:04:40 +0100
committerGitHub <noreply@github.com>2022-01-21 18:04:40 +0100
commite07a4b97f6552674f6038d15c0767bbfea082bf2 (patch)
tree479eed2cc5ce0afea43e239848e934b9a6df2c11 /test/functional/api/vim_spec.lua
parentbe22cc1264ba27ed46f8ef3123c532d721478607 (diff)
parent6e69a3c3e79fd78b31753343213e68e73b0048c4 (diff)
downloadrneovim-e07a4b97f6552674f6038d15c0767bbfea082bf2.tar.gz
rneovim-e07a4b97f6552674f6038d15c0767bbfea082bf2.tar.bz2
rneovim-e07a4b97f6552674f6038d15c0767bbfea082bf2.zip
Merge pull request #16936 from zeertzjq/no-escape-csi
input: never escape CSI bytes and clean up related names and comments
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r--test/functional/api/vim_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua
index 22201e21a2..201ba45803 100644
--- a/test/functional/api/vim_spec.lua
+++ b/test/functional/api/vim_spec.lua
@@ -1367,18 +1367,18 @@ describe('API', function()
end)
describe('nvim_feedkeys', function()
- it('CSI escaping', function()
+ it('K_SPECIAL escaping', function()
local function on_setup()
-- notice the special char(…) \xe2\80\xa6
nvim('feedkeys', ':let x1="…"\n', '', true)
-- Both nvim_replace_termcodes and nvim_feedkeys escape \x80
local inp = helpers.nvim('replace_termcodes', ':let x2="…"<CR>', true, true, true)
- nvim('feedkeys', inp, '', true) -- escape_csi=true
+ nvim('feedkeys', inp, '', true) -- escape_ks=true
- -- nvim_feedkeys with CSI escaping disabled
+ -- nvim_feedkeys with K_SPECIAL escaping disabled
inp = helpers.nvim('replace_termcodes', ':let x3="…"<CR>', true, true, true)
- nvim('feedkeys', inp, '', false) -- escape_csi=false
+ nvim('feedkeys', inp, '', false) -- escape_ks=false
helpers.stop()
end