diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-06-24 12:25:19 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-06-24 12:25:19 +0400 |
commit | b9a5b2c45f70c7b85e17557a4050a198d3b805d6 (patch) | |
tree | c9458c6c3024ca989ebf7b2b383bbe474daeed06 /winsup/cygwin/fhandler_console.cc | |
parent | a23a9b3e95052bb2a648bc0593c9c07c0ae16735 (diff) |
* fhandler_console.cc (fhandler_console::read): Don't generate ^@ on
Ctrl+Alt+Space.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index ce036a361..eb4a41f16 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -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 */ |