mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* fhandler_console.cc (fhandler_console::read): Add comment.
(fhandler_console::input_tcsetattr): Don't set ENABLE_PROCESSED_INPUT if IGNBRK flag is set.
This commit is contained in:
parent
9e1fd6bcf7
commit
4b626add7e
@ -1,3 +1,9 @@
|
||||
2011-06-30 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_console.cc (fhandler_console::read): Add comment.
|
||||
(fhandler_console::input_tcsetattr): Don't set ENABLE_PROCESSED_INPUT
|
||||
if IGNBRK flag is set.
|
||||
|
||||
2011-06-30 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* dtable.cc (fh_oom): New static fhandler storage.
|
||||
|
@ -441,6 +441,7 @@ restart:
|
||||
if (control_key_state & LEFT_ALT_PRESSED)
|
||||
dev_state.nModifiers |= 8;
|
||||
|
||||
/* Allow Backspace to emit ^? and escape sequences. */
|
||||
if (input_rec.Event.KeyEvent.wVirtualScanCode == 14)
|
||||
{
|
||||
char c = dev_state.backspace_keycode;
|
||||
@ -969,7 +970,7 @@ fhandler_console::input_tcsetattr (int, struct termios const *t)
|
||||
flags &= ~ENABLE_ECHO_INPUT;
|
||||
}
|
||||
|
||||
if (t->c_lflag & ISIG)
|
||||
if ((t->c_lflag & ISIG) && !(t->c_iflag & IGNBRK))
|
||||
{
|
||||
flags |= ENABLE_PROCESSED_INPUT;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user