diff --git a/src/window.cpp b/src/window.cpp index 28b37b19..b59bbaa0 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -696,7 +696,10 @@ void Window::Scroll(Where where) Window &Window::operator<<(Colors colors) { if (colors.fg == clEnd || colors.bg == clEnd) + { + *this << clEnd; return *this; + } itsColors.push(colors); SetColor(colors.fg, colors.bg); return *this;