aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-23 17:21:49 +0000
committerKalle Wallin <kaw@linux.se>2004-04-23 17:21:49 +0000
commit4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb (patch)
treefd4232ec86b85f60a10098aaa86bbc00808a94db /screen.c
parent4f3a3fc8fa9a55212a472f199675ee92d630ad68 (diff)
downloadmpd-4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb.tar.gz
mpd-4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb.tar.xz
mpd-4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb.zip
Use wattroff after painting the top line.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@881 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/screen.c b/screen.c
index 0524b0d82..879096650 100644
--- a/screen.c
+++ b/screen.c
@@ -175,6 +175,9 @@ paint_top_window(char *header, mpd_client_t *c, int clear)
mvwhline(w, 1, 0, ACS_HLINE, screen->top_window.cols);
#endif
+ if( options.enable_colors )
+ wattroff(w, LINE_COLORS);
+
wnoutrefresh(w);
}
}