diff --git a/src/musikbox/app/window/CommandWindow.cpp b/src/musikbox/app/window/CommandWindow.cpp index 2810c5cd4..0bf316862 100755 --- a/src/musikbox/app/window/CommandWindow.cpp +++ b/src/musikbox/app/window/CommandWindow.cpp @@ -37,7 +37,7 @@ bool tostr(T& t, const std::string& s) { inline static void redrawContents(IWindow &window, const std::string& text) { WINDOW* c = window.GetContent(); - wclear(c); + werase(c); wprintw(c, text.c_str()); window.Repaint(); } diff --git a/src/musikbox/cursespp/ScrollAdapterBase.cpp b/src/musikbox/cursespp/ScrollAdapterBase.cpp index 14f992b61..4cfaea2a8 100755 --- a/src/musikbox/cursespp/ScrollAdapterBase.cpp +++ b/src/musikbox/cursespp/ScrollAdapterBase.cpp @@ -78,7 +78,7 @@ void ScrollAdapterBase::DrawPage(WINDOW* window, size_t index, ScrollPosition *r result->logicalIndex = 0; } - wclear(window); + werase(window); if (this->height == 0 || this->width == 0 || this->GetEntryCount() == 0) { return; @@ -138,4 +138,4 @@ void ScrollAdapterBase::DrawPage(WINDOW* window, size_t index, ScrollPosition *r result->totalEntries = GetEntryCount(); result->logicalIndex = index; } -} \ No newline at end of file +} diff --git a/src/musikbox/cursespp/Window.cpp b/src/musikbox/cursespp/Window.cpp index a1bbeb6e4..9555e99cf 100755 --- a/src/musikbox/cursespp/Window.cpp +++ b/src/musikbox/cursespp/Window.cpp @@ -379,7 +379,7 @@ IWindow* Window::GetParent() const { } void Window::Clear() { - wclear(this->content); + werase(this->content); } void Window::Repaint() {