diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2016-12-06 17:23:28 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-12-20 15:04:21 +1100 |
commit | 5edfdd5dc8806fb6520ee698f42d269143ad5c45 (patch) | |
tree | 4357c1d72dbc664b42179757e5a5a0ddb493654b /ui/ncurses/nc-cui.h | |
parent | 211d7eb1de2d3a9cd97846deb9a85a934dae2981 (diff) | |
download | talos-petitboot-5edfdd5dc8806fb6520ee698f42d269143ad5c45.tar.gz talos-petitboot-5edfdd5dc8806fb6520ee698f42d269143ad5c45.zip |
ui/ncurses: Add status log UI
Currently, status messages from the server are displayed in a single
line at the bottom of the main menu UI, and are lost once a new status
is reported.
This change adds a facility for the UI to collect and display the status
messages from the server, in a dedicated UI screen. This allows a user
to look back through the discovery & boot process.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r-- | ui/ncurses/nc-cui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index b00d251..418df71 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -56,6 +56,7 @@ struct cui { struct waitset *waitset; struct discover_client *client; struct system_info *sysinfo; + struct statuslog *statuslog; struct sysinfo_screen *sysinfo_screen; struct config *config; struct config_screen *config_screen; @@ -64,6 +65,7 @@ struct cui { struct lang_screen *lang_screen; struct help_screen *help_screen; struct subset_screen *subset_screen; + struct statuslog_screen *statuslog_screen; struct pjs *pjs; void *platform_info; unsigned int default_item; @@ -80,6 +82,7 @@ void cui_item_new(struct pmenu *menu); void cui_show_sysinfo(struct cui *cui); void cui_show_config(struct cui *cui); void cui_show_lang(struct cui *cui); +void cui_show_statuslog(struct cui *cui); void cui_show_help(struct cui *cui, const char *title, const struct help_text *text); void cui_show_subset(struct cui *cui, const char *title, |