summaryrefslogtreecommitdiff
path: root/src/testdir/test_popupwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-04 23:21:35 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-04 23:21:35 +0100
commit8f027fe470555252b258508c455e93700a969cb1 (patch)
tree073ea9753872a8345c43a07e77b7c52c4e618259 /src/testdir/test_popupwin.vim
parenta471eeae75cda982bb6ddffbb0cbb71d868b97bf (diff)
downloadvim-git-8f027fe470555252b258508c455e93700a969cb1.tar.gz
patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSIv8.2.0356
Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly. Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken Takata, closes #5726)
Diffstat (limited to 'src/testdir/test_popupwin.vim')
-rw-r--r--src/testdir/test_popupwin.vim8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 9c22845c4..ebc8c4306 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -3284,11 +3284,9 @@ func Test_popupwin_filter_input_multibyte()
call feedkeys("\u3000", 'xt')
call assert_equal([0xe3, 0x80, 0x80], g:bytes)
- if has('gui')
- " UTF-8: E3 80 9B, including CSI(0x9B)
- call feedkeys("\u301b", 'xt')
- call assert_equal([0xe3, 0x80, 0x9b], g:bytes)
- endif
+ " UTF-8: E3 80 9B, including CSI(0x9B)
+ call feedkeys("\u301b", 'xt')
+ call assert_equal([0xe3, 0x80, 0x9b], g:bytes)
call popup_clear()
delfunc MyPopupFilter