Conditionalize weird redraw issue observed on FreeBSD.

This commit is contained in:
Casey Langen 2021-01-17 23:59:01 -08:00
parent a64a7c97b9
commit aa59abd031

View File

@ -419,7 +419,13 @@ void Window::Redraw() {
}
if (this->frame) {
#ifdef __FreeBSD__
/* somehow related to curses version, but i don't know how;
if we don't do this on FreeBSD we get missing background
colors for things like overlays. if we do this on other
platforms we get weird repainting artifacts. */
this->RepaintBackground();
#endif
this->OnRedraw();
this->Invalidate();
this->isDirty = false;