diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-10-11 16:35:09 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-10-11 16:35:09 +0800 |
commit | dbc31f80771461921a0339ff21c11e00203307ec (patch) | |
tree | 721b8777d064e86e0039781e2c4868f00431ec7c /ui/ncurses/nc-boot-editor.h | |
parent | bf8d7e61a8fbc19be5ea1a73b9eaa30e58453d1f (diff) | |
download | talos-petitboot-dbc31f80771461921a0339ff21c11e00203307ec.tar.gz talos-petitboot-dbc31f80771461921a0339ff21c11e00203307ec.zip |
ui/ncurses: Use OK & Cancel buttons for boot editor completion
Rather than using enter to complete a boot_editor session, add OK and
Cancel buttons. Enter will move between fields.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-boot-editor.h')
-rw-r--r-- | ui/ncurses/nc-boot-editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ncurses/nc-boot-editor.h b/ui/ncurses/nc-boot-editor.h index ee6d046..dc849b3 100644 --- a/ui/ncurses/nc-boot-editor.h +++ b/ui/ncurses/nc-boot-editor.h @@ -63,6 +63,7 @@ struct boot_editor { struct nc_scr scr; FORM *ncf; FIELD **fields; + FIELD *button_ok, *button_cancel; void *data; struct pmenu *original_pmenu; void (*on_exit)(struct boot_editor *boot_editor, |