Mercurial > vim
changeset 27736:ef89db30e46c v8.2.4394
patch 8.2.4394: UTF8 select mode test fails on MS-Windows
Commit: https://github.com/vim/vim/commit/9fdde7992ab4c21517f447ca3d651b9ff4a770e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 15 19:52:56 2022 +0000
patch 8.2.4394: UTF8 select mode test fails on MS-Windows
Problem: UTF8 select mode test fails on MS-Windows.
Solution: Revert the #ifdef change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 15 Feb 2022 21:00:03 +0100 |
parents | 59ddc5d85787 |
children | 9e05a238b0f0 |
files | src/getchar.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/getchar.c +++ b/src/getchar.c @@ -3671,9 +3671,7 @@ fix_input_buffer(char_u *buf, int len) p += 2; i -= 2; } -# ifndef MSWIN - // When not on MS-Windows and the GUI is not used CSI needs to be - // escaped. + // When the GUI is not used CSI needs to be escaped. else if (!gui.in_use && p[0] == CSI) { mch_memmove(p + 3, p + 1, (size_t)i); @@ -3682,7 +3680,6 @@ fix_input_buffer(char_u *buf, int len) *p = (int)KE_CSI; len += 2; } -# endif else #endif if (p[0] == NUL || (p[0] == K_SPECIAL