Fix header render

This may need a rewrite.
This commit is contained in:
Přemysl Eric Janouch 2016-10-03 03:59:37 +02:00
parent ef184d3466
commit 563c278771
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 4 additions and 2 deletions

View File

@ -873,11 +873,13 @@ app_redraw_top (void)
app_redraw_status (); app_redraw_status ();
break; break;
case MPD_CONNECTING: case MPD_CONNECTING:
app_next_row (APP_ATTR (HEADER)); attrset (APP_ATTR (HEADER));
app_next_row (0);
app_write_utf8 ("Connecting to MPD...", APP_ATTR (HEADER), COLS); app_write_utf8 ("Connecting to MPD...", APP_ATTR (HEADER), COLS);
break; break;
case MPD_DISCONNECTED: case MPD_DISCONNECTED:
app_next_row (APP_ATTR (HEADER)); attrset (APP_ATTR (HEADER));
app_next_row (0);
app_write_utf8 ("Disconnected", APP_ATTR (HEADER), COLS); app_write_utf8 ("Disconnected", APP_ATTR (HEADER), COLS);
} }