input: Escape utf8 sequences that contain CSI/K_SPECIAL

This commit is contained in:
Thiago de Arruda
2015-02-18 13:16:30 -03:00
parent 25ceadab37
commit e7c945ab59
3 changed files with 37 additions and 16 deletions

View File

@@ -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)