Hello.

Sorry If you had already solved.
Please be additional test.

(In case of encoding=utf8 and termencoding=sjis)

Thanks.
Nobuhiro Takasaki

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
233,293d232
<     BOOL
< read_console_input(
<     HANDLE hConsoleInput,
<     PINPUT_RECORD lpBuffer,
<     DWORD nLength,
<     LPDWORD lpNumberOfEventsRead)
< {
<     enum
<     {
<         IRSIZE = 10, /* rough value */
<     };
<     static INPUT_RECORD irCache[IRSIZE];
<     static DWORD s_dwIndex = 0;
<     static DWORD s_dwMax = 0;
< 
<     if (hConsoleInput == NULL || lpBuffer == NULL)
<         return ReadConsoleInput(hConsoleInput, lpBuffer, nLength, 
lpNumberOfEventsRead);
< 
<     if (nLength == -1)
<     {
<         if (s_dwMax == 0)
<         {
<             PeekConsoleInput(hConsoleInput, lpBuffer, 1, 
lpNumberOfEventsRead);
<             if (*lpNumberOfEventsRead == 0)
<                 return FALSE;
<             ReadConsoleInput(hConsoleInput, irCache, IRSIZE, &s_dwMax);
<             s_dwIndex = 0;
<         }
<         ((PINPUT_RECORD)lpBuffer)[0] = irCache[s_dwIndex];
<         *lpNumberOfEventsRead = 1;
<         return TRUE;
<     }
< 
<     if (s_dwMax == 0)
<     {
<         ReadConsoleInput(hConsoleInput, irCache, IRSIZE, &s_dwMax);
<         s_dwIndex = 0;
<         if (s_dwMax == 0)
<         {
<             *lpNumberOfEventsRead = 0;
<             return FALSE;
<         }
<     }
< 
<     ((PINPUT_RECORD)lpBuffer)[0] = irCache[s_dwIndex];
<     if (++s_dwIndex == s_dwMax)
<         s_dwMax = 0;
<     *lpNumberOfEventsRead = 1;
<     return TRUE;
< }
< 
<     BOOL
< peek_console_input(
<     HANDLE hConsoleInput,
<     PINPUT_RECORD lpBuffer,
<     DWORD nLength,
<     LPDWORD lpNumberOfEventsRead)
< {
<     return read_console_input(hConsoleInput, lpBuffer, -1, 
lpNumberOfEventsRead);
< }
< 
1181c1120
<                       peek_console_input(g_hConIn, &ir, 1, &cRecords);
---
>                       PeekConsoleInput(g_hConIn, &ir, 1, &cRecords);
1190c1129
<                               read_console_input(g_hConIn, &ir, 1, &cRecords);
---
>                               ReadConsoleInput(g_hConIn, &ir, 1, &cRecords);
1198c1137
<                               read_console_input(g_hConIn, &ir, 1, &cRecords);
---
>                               ReadConsoleInput(g_hConIn, &ir, 1, &cRecords);
1201c1140
<                               peek_console_input(g_hConIn, &ir, 1, &cRecords);
---
>                               PeekConsoleInput(g_hConIn, &ir, 1, &cRecords);
1438c1377
<       peek_console_input(g_hConIn, &ir, 1, &cRecords);
---
>       PeekConsoleInput(g_hConIn, &ir, 1, &cRecords);
1469c1408
<                   read_console_input(g_hConIn, &ir, 1, &cRecords);
---
>                   ReadConsoleInput(g_hConIn, &ir, 1, &cRecords);
1478c1417
<           read_console_input(g_hConIn, &ir, 1, &cRecords);
---
>           ReadConsoleInput(g_hConIn, &ir, 1, &cRecords);
1548c1487
<       if (read_console_input(g_hConIn, &ir, 1, &cRecords) == 0)
---
>       if (ReadConsoleInput(g_hConIn, &ir, 1, &cRecords) == 0)

Raspunde prin e-mail lui