From 22ca5c0c2229b7f392beb23452a53b60c435bd46 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Fri, 15 Nov 2013 12:57:13 +1100 Subject: ui/ncurses: Don't mess with prog_mode in cui_boot The discover_client_boot call is asynchronous, so setting and resetting prog_mode doesn't gain us anything. Signed-off-by: Jeremy Kerr --- ui/ncurses/nc-cui.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ui') diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index 268060c..5af1171 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -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); -- cgit v1.2.1