From: Kalle Wallin Date: Fri, 23 Apr 2004 17:21:49 +0000 (+0000) Subject: Use wattroff after painting the top line. X-Git-Tag: v0.12_alpha1~559 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb;p=ncmpc.git Use wattroff after painting the top line. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@881 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/ChangeLog b/ChangeLog index 330406d..9300387 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2004-04-23 Kalle Wallin * Updated Changelog, TODO, NEWS and the manual page. + * screen_play.c: Make shure the cursor stays on the same row when + deleting a playlist entry. + * screen.c: Turn off LINE_COLORS after drawing the top line. + 2004-04-22 Kalle Wallin * Added smart delete and add (#0000220), at the moment only used diff --git a/screen.c b/screen.c index 0524b0d..8790966 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); } }