* fhandler_console.cc (fhandler_console::read): Allow Ctrl-Space to
emit a NUL byte.
This commit is contained in:
parent
b650c255ab
commit
f17f20c139
@ -1,9 +1,13 @@
|
||||
2009-06-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_console.cc (fhandler_console::read): Allow Ctrl-Space to
|
||||
emit a NUL byte.
|
||||
|
||||
2009-06-04 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
* thread.cc (__cygwin_lock_lock): Delete racy optimisation.
|
||||
(__cygwin_lock_unlock): Likewise.
|
||||
|
||||
|
||||
2009-06-03 IWAMURO Motnori <deenheart@gmail.com>
|
||||
|
||||
* strfuncs.cc (sys_cp_mbstowcs): Fix condition.
|
||||
|
@ -323,6 +323,10 @@ fhandler_console::read (void *pv, size_t& buflen)
|
||||
? (dev_state->metabit ? "\377" : "\033\177") : "\177";
|
||||
nread = strlen (toadd);
|
||||
}
|
||||
/* Allow Ctrl-Space to emit ^@ */
|
||||
else if (input_rec.Event.KeyEvent.wVirtualKeyCode == VK_SPACE
|
||||
&& (control_key_state & CTRL_PRESSED))
|
||||
toadd = "";
|
||||
else if (wch == 0
|
||||
/* arrow/function keys */
|
||||
|| (input_rec.Event.KeyEvent.dwControlKeyState & ENHANCED_KEY))
|
||||
|
Loading…
Reference in New Issue
Block a user