1
0
forked from aniani/vim

patch 8.2.1020: popupwin test fails in the GUI

Problem:    Popupwin test fails in the GUI.
Solution:   Send GUI byte sequence for <C-S-a>.
This commit is contained in:
Bram Moolenaar
2020-06-20 15:03:38 +02:00
parent ef6746f637
commit b326edf5b3
2 changed files with 7 additions and 1 deletions

View File

@@ -3349,7 +3349,11 @@ func Test_popupwin_filter_input_multibyte()
if has('unix') if has('unix')
" with modifyOtherKeys <M-S-a> does not include a modifier sequence " with modifyOtherKeys <M-S-a> does not include a modifier sequence
if has('gui_running')
call feedkeys("\x9b\xfc\x08A", 'Lx!')
else
call feedkeys("\<Esc>[27;4;65~", 'Lx!') call feedkeys("\<Esc>[27;4;65~", 'Lx!')
endif
call assert_equal([0xc3, 0x81], g:bytes) call assert_equal([0xc3, 0x81], g:bytes)
endif endif

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1020,
/**/ /**/
1019, 1019,
/**/ /**/