]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-cui.c
ui/ncurses: Don't mess with prog_mode in cui_boot
[petitboot] / ui / ncurses / nc-cui.c
index 268060c8d36eeab786af3835da2dcf820b945b0d..5af11717e42915017b95cc8eaf97555db6e95283 100644 (file)
@@ -147,13 +147,8 @@ static int cui_boot(struct pmenu_item *item)
 
        nc_scr_status_printf(cui->current, "Booting %s...", cod->name);
 
-       def_prog_mode();
-
        result = discover_client_boot(cui->client, NULL, cod->opt, cod->bd);
 
-       reset_prog_mode();
-       redrawwin(cui->current->main_ncw);
-
        if (result) {
                nc_scr_status_printf(cui->current,
                                "Failed: boot %s", cod->bd->image);