summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-boot-editor.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-01-31 10:53:57 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-01-31 10:59:42 +0800
commit8c60755607cbade935b1f763dffbf9ee1c38f97a (patch)
tree15d24fd667aba428bc4a2bf7187da5d5c3a853a4 /ui/ncurses/nc-boot-editor.c
parent4051815230f443ac4b052a4cf0f55a951e3f88c8 (diff)
downloadtalos-petitboot-8c60755607cbade935b1f763dffbf9ee1c38f97a.tar.gz
talos-petitboot-8c60755607cbade935b1f763dffbf9ee1c38f97a.zip
ui/ncurses: Unify key bindings & key help text
This change is a small cleanup of the key bindings; we ensure that the general key bindings are available (and documented) on all screens. In order to keep things consistent, this change adds an initial UI guidelines text file, which documents the general key bindings. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-boot-editor.c')
-rw-r--r--ui/ncurses/nc-boot-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c
index 432a92a..329699a 100644
--- a/ui/ncurses/nc-boot-editor.c
+++ b/ui/ncurses/nc-boot-editor.c
@@ -538,7 +538,7 @@ struct boot_editor *boot_editor_init(struct cui *cui,
"Petitboot Option Editor");
boot_editor->scr.frame.rtitle = NULL;
boot_editor->scr.frame.help = talloc_strdup(boot_editor,
- "Enter=accept");
+ "tab=next, shift+tab=previous, x=exit, h=help");
nc_scr_frame_draw(&boot_editor->scr);
if (item) {
OpenPOWER on IntegriCloud