Browse Source

Clear message on alert row before printing new one

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
e4f489636f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/hci/tui/settings_ui.c

+ 1
- 0
src/hci/tui/settings_ui.c View File

253
  * @v args		printf() argument list
253
  * @v args		printf() argument list
254
  */
254
  */
255
 static void valert ( const char *fmt, va_list args ) {
255
 static void valert ( const char *fmt, va_list args ) {
256
+	clearmsg ( ALERT_ROW );
256
 	color_set ( CPAIR_ALERT, NULL );
257
 	color_set ( CPAIR_ALERT, NULL );
257
 	vmsg ( ALERT_ROW, fmt, args );
258
 	vmsg ( ALERT_ROW, fmt, args );
258
 	sleep ( 2 );
259
 	sleep ( 2 );

Loading…
Cancel
Save