diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-11 15:23:05 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-11 15:23:05 -0700 |
commit | ff43174663ef3eabb25d672d874500dc228a9b49 (patch) | |
tree | ef48057f043d24a02a82429c351066a2d7b37262 /com32/menu | |
parent | 67603c535d96bcd611d06b2844fcd3d33da90f22 (diff) | |
download | syslinux-ff43174663ef3eabb25d672d874500dc228a9b49.tar.gz |
menu: clear the timeout line on MENU HIDDENKEY
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/menu')
-rw-r--r-- | com32/menu/menumain.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c index df1eb185..5b3f6bd1 100644 --- a/com32/menu/menumain.c +++ b/com32/menu/menumain.c @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------- * * * Copyright 2004-2008 H. Peter Anvin - All Rights Reserved - * Copyright 2009-2010 Intel Corporation; author: H. Peter Anvin + * Copyright 2009-2011 Intel Corporation; author: H. Peter Anvin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -726,8 +726,11 @@ static const char *do_hidden_menu(void) this_timeout = min(timeout_left, CLK_TCK); key = mygetkey(this_timeout); - if (key != KEY_NONE) + if (key != KEY_NONE) { + /* Clear the message from the screen */ + print_timeout_message(0, HIDDEN_ROW, ""); return hide_key[key]; /* NULL if no MENU HIDEKEY in effect */ + } timeout_left -= this_timeout; } |