vim-patch:7.4.2222

Problem:    Sourcing a script where a character has 0x80 as a second byte does
            not work. (Filipe L B Correia)
Solution:   Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian
            Brabandt, closes vim/vim#728)  Add a test case.

6bff02eb53
This commit is contained in:
James McCoy
2017-03-10 21:22:42 -05:00
parent 564e9dc17f
commit eaf1f9b9dc
5 changed files with 78 additions and 68 deletions

View File

@@ -2322,7 +2322,7 @@ int get_keystroke(void)
n = os_inchar(buf + len, maxlen, len == 0 ? -1L : 100L, 0);
if (n > 0) {
/* Replace zero and CSI by a special key code. */
n = fix_input_buffer(buf + len, n, FALSE);
n = fix_input_buffer(buf + len, n);
len += n;
waited = 0;
} else if (len > 0)