From 4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Fri, 23 Apr 2004 17:21:49 +0000 Subject: [PATCH] Use wattroff after painting the top line. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@881 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- ChangeLog | 4 ++++ screen.c | 3 +++ 2 files changed, 7 insertions(+) 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); } } -- 2.30.2