Clear message on alert row before printing new one

This commit is contained in:
Michael Brown
2006-12-20 05:03:55 +00:00
parent b93ff48173
commit e4f489636f

View File

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