From a64a7c97b9f13ed3198053bfead05a39279352cc Mon Sep 17 00:00:00 2001 From: casey langen Date: Sun, 17 Jan 2021 22:56:58 -0800 Subject: [PATCH] Ensure we repaint the background of windows before redrawing them. This fixes some issues with incomplete background colors on some operating system / ncurses combinations (e.g. FreeBSD) --- src/musikcube/cursespp/Window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/musikcube/cursespp/Window.cpp b/src/musikcube/cursespp/Window.cpp index 92b8e07b3..f5e5f2f8b 100755 --- a/src/musikcube/cursespp/Window.cpp +++ b/src/musikcube/cursespp/Window.cpp @@ -419,6 +419,7 @@ void Window::Redraw() { } if (this->frame) { + this->RepaintBackground(); this->OnRedraw(); this->Invalidate(); this->isDirty = false;