mirror of
https://github.com/vim/vim.git
synced 2025-10-26 09:14:23 -04:00
patch 9.1.1741: Regression with kitty protocol and trailing byte "u"
Problem: Regression with kitty protocol and trailing byte "u"
(chdiza, after v9.1.1736)
Solution: Check that trailing byte "~" is present
fixes: #18232
closes: #18234
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -2542,6 +2542,18 @@ func Test_mapping_kitty_function_keys2()
|
||||
set timeoutlen&
|
||||
endfunc
|
||||
|
||||
func Test_mapping_kitty_shift_enter()
|
||||
new
|
||||
set timeoutlen=10
|
||||
|
||||
imap <buffer> <S-CR> YYYY
|
||||
call feedkeys(printf("i123 %s\<esc>", GetEscCodeCSIu("\<cr>", 2)),'Lx!')
|
||||
call assert_equal('123 YYYY', getline(1))
|
||||
|
||||
bwipe!
|
||||
set timeoutlen&
|
||||
endfunc
|
||||
|
||||
func Test_insert_literal()
|
||||
set timeoutlen=10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user