mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.4.589
Problem: In the MS-Windows console Vim can't handle greek characters when encoding is utf-8. Solution: Escape K_NUL. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -1814,6 +1814,9 @@ mch_inchar(
|
||||
if (conv)
|
||||
{
|
||||
char_u *p = typeahead + typeaheadlen;
|
||||
|
||||
if (*p != K_NUL)
|
||||
{
|
||||
char_u *e = typeahead + TYPEAHEADLEN;
|
||||
|
||||
while (*p && p < e)
|
||||
@@ -1828,6 +1831,7 @@ mch_inchar(
|
||||
++p;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Use the ALT key to set the 8th bit of the character
|
||||
* when it's one byte, the 8th bit isn't set yet and not
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
589,
|
||||
/**/
|
||||
588,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user