mirror of https://github.com/MidnightCommander/mc
* key.c (get_modifier): Recognize keyboard modifiers on Cygwin.
This commit is contained in:
parent
e3698948a4
commit
ee2e35afb4
|
@ -1,3 +1,7 @@
|
|||
2004-09-14 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* key.c (get_modifier): Recognize keyboard modifiers on Cygwin.
|
||||
|
||||
2004-09-12 Pavel Shirshov <pavelsh@mail.ru>
|
||||
|
||||
* execute.c (toggle_panels): Fix error. show_output_starts_shell=1
|
||||
|
|
|
@ -59,6 +59,11 @@
|
|||
# include <sys/ioctl.h>
|
||||
#endif /* __linux__ */
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# include <termios.h>
|
||||
# include <sys/ioctl.h>
|
||||
#endif /* __CYGWIN__ */
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
# include <dlfcn.h>
|
||||
# include <Ph.h>
|
||||
|
@ -1276,7 +1281,7 @@ get_modifier (void)
|
|||
result |= KEY_M_SHIFT;
|
||||
}
|
||||
#endif /* __QNXNTO__ */
|
||||
#ifdef __linux__
|
||||
#if defined __linux__ || (defined __CYGWIN__ && defined TIOCLINUX)
|
||||
{
|
||||
unsigned char modifiers = 6;
|
||||
|
||||
|
|
Loading…
Reference in New Issue