Mercurial > vim
diff src/testdir/test_popupwin.vim @ 19599:5eb0ead1415f v8.2.0356
patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSI
Commit: https://github.com/vim/vim/commit/8f027fe470555252b258508c455e93700a969cb1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 4 23:21:35 2020 +0100
patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSI
Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
Takata, closes #5726)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Mar 2020 23:30:04 +0100 |
parents | 167181848770 |
children | 5ad7a406647a |
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -3284,11 +3284,9 @@ func Test_popupwin_filter_input_multibyt 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