* fhandler_console.cc (fhandler_console::read): Don't generate ^@ on

Ctrl+Alt+Space.
This commit is contained in:
Corinna Vinschen 2011-06-24 08:25:19 +00:00
parent a23a9b3e95
commit b9a5b2c45f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-24 Corinna Vinschen <corinna@vinschen.de>
* fhandler_console.cc (fhandler_console::read): Don't generate ^@ on
Ctrl+Alt+Space.
2011-06-22 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tty.cc (fhandler_pty_master::setup): Create pty pipes

View File

@ -457,7 +457,8 @@ restart:
}
/* Allow Ctrl-Space to emit ^@ */
else if (input_rec.Event.KeyEvent.wVirtualKeyCode == VK_SPACE
&& (control_key_state & CTRL_PRESSED))
&& (control_key_state & CTRL_PRESSED)
&& !(control_key_state & ALT_PRESSED))
toadd = "";
else if (wch == 0
/* arrow/function keys */