diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-27 02:36:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-27 02:36:50 +0000 |
commit | 63726a5eb47ec3a95be7dfa96443119e1c762f6b (patch) | |
tree | 34082d9620f9b98d231c498b761c4a790dcdc402 /winsup/cygwin/include/sys/termios.h | |
parent | ecc28ff8db7c43779f328d31633d5f8358a3cf5b (diff) | |
download | cygnal-63726a5eb47ec3a95be7dfa96443119e1c762f6b.tar.gz cygnal-63726a5eb47ec3a95be7dfa96443119e1c762f6b.tar.bz2 cygnal-63726a5eb47ec3a95be7dfa96443119e1c762f6b.zip |
* fhandler_console.c (fhandler_console::read): Record the state of the SHIFT,
CTRL and ALT keys at the time of the last keyboard input event.
(fhandler_console::ioctl): Handle requests to retrieve the keyboard modifiers
via the TIOCLINUX command.
* fhandler_tty.c (fhandler_tty_slave::read): Ditto.
* include/sys/termios.h (TIOCLINUX): New macro definition.
Diffstat (limited to 'winsup/cygwin/include/sys/termios.h')
-rw-r--r-- | winsup/cygwin/include/sys/termios.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/termios.h b/winsup/cygwin/include/sys/termios.h index 7c47372b8..0d381270e 100644 --- a/winsup/cygwin/include/sys/termios.h +++ b/winsup/cygwin/include/sys/termios.h @@ -330,5 +330,6 @@ struct winsize #define TIOCGWINSZ (('T' << 8) | 1) #define TIOCSWINSZ (('T' << 8) | 2) +#define TIOCLINUX (('T' << 8) | 3) #endif /* _SYS_TERMIOS_H */ |