From 40d57bee5cf77d836f2d68c440a875fe770cc250 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 19 Nov 2013 18:03:40 +1100 Subject: [PATCH] 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 --- ui/ncurses/nc-boot-editor.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.2