Clear message on alert row before printing new one
authorMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 05:03:55 +0000 (05:03 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 05:03:55 +0000 (05:03 +0000)
src/hci/tui/settings_ui.c

index 089e130..6caa699 100644 (file)
@@ -253,6 +253,7 @@ static void clearmsg ( unsigned int row ) {
  * @v args             printf() argument list
  */
 static void valert ( const char *fmt, va_list args ) {
+       clearmsg ( ALERT_ROW );
        color_set ( CPAIR_ALERT, NULL );
        vmsg ( ALERT_ROW, fmt, args );
        sleep ( 2 );