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

@@ -16,7 +16,7 @@ describe('mapping', function()
-- Abbreviations with р (0x80) should work.
execute('inoreab чкпр vim')
feed('GAчкпр <cr><esc>')
feed('GAчкпр <esc>')
-- langmap should not get remapped in insert mode.
execute('inoremap { FAIL_ilangmap')
@@ -27,10 +27,11 @@ describe('mapping', function()
execute('inoremap <expr> { "FAIL_iexplangmap"')
feed('o+<esc>')
-- Assert buffer contents.
expect([[
test starts here:
vim
vim
+
+]])
end)