diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-11 14:59:45 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-11 15:06:38 -0700 |
commit | a8e74b2834664543166744cf0832e1d6db36347f (patch) | |
tree | 2c22b842d476d69cbeeb95dbfe9df433c8fa60b4 /doc/menu.txt | |
parent | 868c474546ba68e9e448734e1833f873fd50ec0a (diff) | |
download | syslinux-a8e74b2834664543166744cf0832e1d6db36347f.tar.gz |
menu: Add "menu hiddenkey" to make terminating menu hidden a command
Use "menu hiddenkey" together with "menu hidden" for a one-keystroke
action.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'doc/menu.txt')
-rw-r--r-- | doc/menu.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/menu.txt b/doc/menu.txt index e2dd1e1c..892de48a 100644 --- a/doc/menu.txt +++ b/doc/menu.txt @@ -48,6 +48,22 @@ MENU HIDDEN All that is displayed is a timeout message. +MENU HIDDENKEY key command... + + If they key used to interrupt MENU HIDDEN is <key>, then + execute the specified command instead of displaying the menu. + + Currently, the following key names are recognized: + + Backspace, Tab, Enter, Esc, Space, F1..F12, Up, Down, Left, + Right, PgUp, PgDn, Home, End, Insert, Delete + + ... in addition to all single characters plus the syntax ^X + for Ctrl-X. Note that single characters are treated as case + sensitive, so a different command can be bound to "A" than + "a". + + MENU CLEAR Clear the screen when exiting the menu, instead of leaving the |