Another potential fix for weird scrollbar behavior on FreeBSD. Really

wish I could repro this problem locally.
This commit is contained in:
casey langen 2017-12-25 16:08:47 -08:00
parent 394eca93c8
commit afcd50d252

View File

@ -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
}
}