mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 19:49:45 +03:00
Clear message on alert row before printing new one
This commit is contained in:
@@ -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 );
|
||||||
|
|||||||
Reference in New Issue
Block a user