discover: Maintain a backlog of status updates
[petitboot] / ui / ncurses / nc-cui.c
index 93b2e43eebf0847bd5498746ccbe28e8028b20c4..b4f74a793e73f906b3aaaa68b22d7deb66587a75 100644 (file)
@@ -714,7 +714,9 @@ static void cui_update_status(struct status *status, void *arg)
 
        statuslog_append_steal(cui, cui->statuslog, status);
 
-       nc_scr_status_printf(cui->current, "%s", status->message);
+       /* Ignore status messages from the backlog */
+       if (!status->backlog)
+               nc_scr_status_printf(cui->current, "%s", status->message);
 }
 
 static void cui_update_mm_title(struct cui *cui)