summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-03 03:59:37 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-03 03:59:37 +0200
commit563c2787716ff16a3d1953efa797bad943f8db79 (patch)
tree7e5d8203e45252ead7d119bad0296d5e47966408
parentef184d3466f9c5319501c283d375515a41437001 (diff)
downloadnncmpp-563c2787716ff16a3d1953efa797bad943f8db79.tar.gz
nncmpp-563c2787716ff16a3d1953efa797bad943f8db79.tar.xz
nncmpp-563c2787716ff16a3d1953efa797bad943f8db79.zip
Fix header render
This may need a rewrite.
-rw-r--r--nncmpp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nncmpp.c b/nncmpp.c
index cdeaf82..1450166 100644
--- a/nncmpp.c
+++ b/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);
}