diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-03 03:59:37 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-03 03:59:37 +0200 |
commit | 563c2787716ff16a3d1953efa797bad943f8db79 (patch) | |
tree | 7e5d8203e45252ead7d119bad0296d5e47966408 | |
parent | ef184d3466f9c5319501c283d375515a41437001 (diff) | |
download | nncmpp-563c2787716ff16a3d1953efa797bad943f8db79.tar.gz nncmpp-563c2787716ff16a3d1953efa797bad943f8db79.tar.xz nncmpp-563c2787716ff16a3d1953efa797bad943f8db79.zip |
Fix header render
This may need a rewrite.
-rw-r--r-- | nncmpp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); } |