Fix header render
This may need a rewrite.
This commit is contained in:
parent
ef184d3466
commit
563c278771
6
nncmpp.c
6
nncmpp.c
@ -873,11 +873,13 @@ app_redraw_top (void)
|
||||
app_redraw_status ();
|
||||
break;
|
||||
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);
|
||||
break;
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user