diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-10-17 13:52:42 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-13 17:47:20 +0800 |
commit | 651940467773d2e679f9210e02f4654fb05cd449 (patch) | |
tree | 5268fc4a6ec34a3aaffb89bec2ba0bbca454fb5c /ui/ncurses/nc-scr.h | |
parent | 8f36cfac8a6cbb9a2750824b704b3cc4b9db5c49 (diff) | |
download | talos-petitboot-651940467773d2e679f9210e02f4654fb05cd449.tar.gz talos-petitboot-651940467773d2e679f9210e02f4654fb05cd449.zip |
ui/ncurses: Add sysinfo screen
Add a simple screen for displaying the struct system_info. We add this
to the main menu as a selectable option, and separate it from the boot
option list with an unselectable blank entry.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-scr.h')
-rw-r--r-- | ui/ncurses/nc-scr.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ui/ncurses/nc-scr.h b/ui/ncurses/nc-scr.h index 4f9de59..e3ed20a 100644 --- a/ui/ncurses/nc-scr.h +++ b/ui/ncurses/nc-scr.h @@ -40,11 +40,12 @@ enum pb_nc_sig { - pb_cui_sig = 111, - pb_pmenu_sig = 222, - pb_item_sig = 333, - pb_boot_editor_sig = 444, - pb_removed_sig = -555, + pb_cui_sig = 111, + pb_pmenu_sig = 222, + pb_item_sig = 333, + pb_boot_editor_sig = 444, + pb_sysinfo_screen_sig = 555, + pb_removed_sig = -666, }; static inline void nc_flush_keys(void) |