[PATCH] ui/ncurses: Remove help shortcut from nc-subset

Samuel Mendoza-Jonas sam at mendozajonas.com
Thu Oct 12 14:51:04 AEDT 2017


Subset screens do not include a help screen, so remove the misleading
"h=help" shortcut from the lower frame title.

Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
 ui/ncurses/nc-subset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/ncurses/nc-subset.c b/ui/ncurses/nc-subset.c
index 50e1b65..9ca3e8a 100644
--- a/ui/ncurses/nc-subset.c
+++ b/ui/ncurses/nc-subset.c
@@ -288,7 +288,7 @@ struct subset_screen *subset_screen_init(struct cui *cui,
 			title_suffix);
 	screen->scr.frame.rtitle = NULL;
 	screen->scr.frame.help = talloc_strdup(screen,
-			_("tab=next, shift+tab=previous, x=exit, h=help"));
+			_("tab=next, shift+tab=previous, x=exit"));
 
 	scrollok(screen->scr.sub_ncw, true);
 
-- 
2.14.2



More information about the Petitboot mailing list