aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/input_spec.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-02-18 13:31:39 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-18 13:31:39 -0300
commit366662d932551e558d10f09887ddf144ed5db34b (patch)
tree45e87e5fb1755ce2cdbc5a47e85c43fd40704395 /test/functional/ui/input_spec.lua
parent66a03a7385dfd11503d22d8cc9dc6a972e27dcc2 (diff)
parente7c945ab597aff7af2611ca9bffa4a11e18c0a87 (diff)
downloadrneovim-366662d932551e558d10f09887ddf144ed5db34b.tar.gz
rneovim-366662d932551e558d10f09887ddf144ed5db34b.tar.bz2
rneovim-366662d932551e558d10f09887ddf144ed5db34b.zip
Merge PR #2007 'Fixes for the new TUI'
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r--test/functional/ui/input_spec.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/ui/input_spec.lua b/test/functional/ui/input_spec.lua
index 60a49c4ed7..81af908045 100644
--- a/test/functional/ui/input_spec.lua
+++ b/test/functional/ui/input_spec.lua
@@ -1,6 +1,7 @@
local helpers = require('test.functional.helpers')
local clear, execute, nvim = helpers.clear, helpers.execute, helpers.nvim
local feed, next_message, eq = helpers.feed, helpers.next_message, helpers.eq
+local expect = helpers.expect
describe('mappings', function()
local cid
@@ -38,3 +39,10 @@ describe('mappings', function()
check_mapping('<a-s-c-up>', '<c-s-a-up>')
end)
end)
+
+describe('input utf sequences that contain CSI/K_SPECIAL', function()
+ it('ok', function()
+ feed('i…<esc>')
+ expect('…')
+ end)
+end)