diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-06-26 20:28:45 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-06-26 20:28:45 -0700 |
commit | d8d22408627466d2ae5e594062d7f650d4a48476 (patch) | |
tree | f9f2c9901b5d5c7d0543db7d4a5c88c3babd35da /com32/menu/menumain.c | |
parent | 17a32fe2e902d7d65b2f6aa3f501456662d53fc4 (diff) | |
download | syslinux-d8d22408627466d2ae5e594062d7f650d4a48476.tar.gz |
menu: add MENU HELP
Add a feature to display fullscreen help via menu selection entry
(inspired by the Debian install disc menus.)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/menu/menumain.c')
-rw-r--r-- | com32/menu/menumain.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c index 5d85018e..06725f37 100644 --- a/com32/menu/menumain.c +++ b/com32/menu/menumain.c @@ -921,6 +921,13 @@ static const char *run_menu(void) clear = 1; draw_row(entry - top + 4 + VSHIFT, -1, top, 0, 0); break; + case MA_HELP: + key = show_message_file(me->cmdline, me->background); + /* If the exit was an F-key, display that help screen */ + show_fkey(key); + done = 0; + clear = 1; + break; default: done = 0; break; |