From afcd50d252971e3c479a94f7bbe36b49ae5be0a4 Mon Sep 17 00:00:00 2001 From: casey langen Date: Mon, 25 Dec 2017 16:08:47 -0800 Subject: [PATCH] Another potential fix for weird scrollbar behavior on FreeBSD. Really wish I could repro this problem locally. --- src/musikcube/cursespp/ListWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/musikcube/cursespp/ListWindow.cpp b/src/musikcube/cursespp/ListWindow.cpp index 9ffe17ae5..5e39f08ee 100755 --- a/src/musikcube/cursespp/ListWindow.cpp +++ b/src/musikcube/cursespp/ListWindow.cpp @@ -96,10 +96,12 @@ void ListWindow::DecorateFrame() { wmove(frame, i, this->GetWidth() - 1); #ifdef WIN32 waddch(frame, (i == offset) ? WIN32_SCROLLER : ACS_VLINE); -#else +#elif defined __APPLE__ if (i == offset) wattron(frame, A_REVERSE); waddch(frame, (i == offset) ? ' ' : ACS_VLINE); if (i == offset) wattroff(frame, A_REVERSE); +#else + waddch(frame, (i == offset) ? ACS_D_VLINE : ACS_VLINE); #endif } }