diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-19 18:03:40 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-22 13:13:15 +0800 |
commit | 40d57bee5cf77d836f2d68c440a875fe770cc250 (patch) | |
tree | ab0cbb195c45db8b5ac03f8673e36058ef454da0 /ui/ncurses/nc-boot-editor.c | |
parent | 7f8fdbcd432097b035394ee5b71dbfde728c36f0 (diff) | |
download | talos-petitboot-40d57bee5cf77d836f2d68c440a875fe770cc250.tar.gz talos-petitboot-40d57bee5cf77d836f2d68c440a875fe770cc250.zip |
ui/ncurses: Ensure boot editor window is properly painted
We're not currently drawing the window title correctly; we need to draw
the main_ncw for this to hit the terminal.
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c index bd2bf6e..86fba4d 100644 --- a/ui/ncurses/nc-boot-editor.c +++ b/ui/ncurses/nc-boot-editor.c @@ -513,6 +513,7 @@ struct boot_editor *boot_editor_init(struct cui *cui, boot_editor->scr.frame.rtitle = NULL; boot_editor->scr.frame.help = talloc_strdup(boot_editor, "Enter=accept"); + nc_scr_frame_draw(&boot_editor->scr); if (item) { struct pb_boot_data *bd = cod_from_item(item)->bd; @@ -533,6 +534,7 @@ struct boot_editor *boot_editor_init(struct cui *cui, boot_editor_setup_widgets(boot_editor, sysinfo); boot_editor_layout_widgets(boot_editor); + wrefresh(boot_editor->scr.main_ncw); return boot_editor; } |