diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-19 16:08:35 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-22 13:13:15 +0800 |
commit | c4b4ebc4c61b7f374582c621aec846aba3795954 (patch) | |
tree | adf5cf70b36aa0ca722c038d606cc1df8aafe0c9 /ui/ncurses/nc-cui.c | |
parent | 15e4a88f297abc8f22a58bb87055d20eacb61db4 (diff) | |
download | petitboot-c4b4ebc4c61b7f374582c621aec846aba3795954.zip petitboot-c4b4ebc4c61b7f374582c621aec846aba3795954.tar.gz |
ui/ncurses: Allow boot editor sysinfo updates
We may start a boot editor (via 'New') before we have the sysinfo. To
allow this, we redraw the device select.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.c')
-rw-r--r-- | ui/ncurses/nc-cui.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index 107539b..5f1a5e4 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -522,10 +522,14 @@ static void cui_update_sysinfo(struct system_info *sysinfo, void *arg) if (cui->sysinfo_screen) sysinfo_screen_update(cui->sysinfo_screen, sysinfo); - /* ... and do the same with the config screen */ + /* ... and do the same with the config screen... */ if (cui->config_screen) config_screen_update(cui->config_screen, cui->config, sysinfo); + /* ... and the boot editor. */ + if (cui->boot_editor) + boot_editor_update(cui->boot_editor, sysinfo); + cui_update_mm_title(cui); } |