aboutsummaryrefslogtreecommitdiff
path: root/win32/termios.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/termios.c')
-rw-r--r--win32/termios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/termios.c b/win32/termios.c
index 081a41e5b..11c24c8b3 100644
--- a/win32/termios.c
+++ b/win32/termios.c
@@ -128,7 +128,7 @@ int64_t FAST_FUNC windows_read_key(int fd, char *buf UNUSED_PARAM, int timeout)
128#else 128#else
129 if ( (record.Event.KeyEvent.uChar.AsciiChar & 0x80) == 0x80 ) { 129 if ( (record.Event.KeyEvent.uChar.AsciiChar & 0x80) == 0x80 ) {
130 char *s = &record.Event.KeyEvent.uChar.AsciiChar; 130 char *s = &record.Event.KeyEvent.uChar.AsciiChar;
131 OemToCharBuff(s, s, 1); 131 conToCharBuffA(s, 1);
132 } 132 }
133 ret = record.Event.KeyEvent.uChar.AsciiChar; 133 ret = record.Event.KeyEvent.uChar.AsciiChar;
134#endif 134#endif