diff options
author | H. Peter Anvin <hpa@zytor.com> | 2014-04-20 11:35:47 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-04-20 11:46:59 -0700 |
commit | 81609df52ac52636a6d4af9249ede641620cb3a7 (patch) | |
tree | d9977268d435834ab26ccebb4ad28a2b3d44e50b /com32/menu | |
parent | b8752b88492d8f321037ad29e56a2fdf9e798e15 (diff) | |
download | syslinux-81609df52ac52636a6d4af9249ede641620cb3a7.tar.gz |
Centralize shift_is_held(), make it work to force the command linesyslinux-6.03-pre11
Holding down shift is supposed to force a command line unless noescape
is provided; make it behave that way.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/menu')
-rw-r--r-- | com32/menu/menumain.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c index 1d239a7f..b8cb06fd 100644 --- a/com32/menu/menumain.c +++ b/com32/menu/menumain.c @@ -609,11 +609,6 @@ static const char *edit_cmdline(const char *input, int top) } } -static inline int shift_is_held(void) -{ - return !!(kbd_shiftflags() & 0x5d); /* Caps/Scroll/Alt/Shift */ -} - static void print_timeout_message(int tol, int row, const char *msg) { static int last_msg_len = 0; |