summaryrefslogtreecommitdiffstats
path: root/src/hci/tui
diff options
context:
space:
mode:
authorMichael Brown2006-12-20 06:03:55 +0100
committerMichael Brown2006-12-20 06:03:55 +0100
commite4f489636f2fc7ce8d0bc66f1b453f2af19d41a7 (patch)
tree145da1279523d621dbe0253b3bb6378abf859fec /src/hci/tui
parentAdded descriptive text for settings and setting types, and display it in (diff)
downloadipxe-e4f489636f2fc7ce8d0bc66f1b453f2af19d41a7.tar.gz
ipxe-e4f489636f2fc7ce8d0bc66f1b453f2af19d41a7.tar.xz
ipxe-e4f489636f2fc7ce8d0bc66f1b453f2af19d41a7.zip
Clear message on alert row before printing new one
Diffstat (limited to 'src/hci/tui')
-rw-r--r--src/hci/tui/settings_ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hci/tui/settings_ui.c b/src/hci/tui/settings_ui.c
index 089e130f..6caa6990 100644
--- a/src/hci/tui/settings_ui.c
+++ b/src/hci/tui/settings_ui.c
@@ -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 );