diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 8c402fab..8f6e195f 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -304,6 +304,8 @@ void NCursesUI::Window::destroy() { delwin(win); win = nullptr; + pos = CharCoord{}; + size = CharCoord{}; } void NCursesUI::Window::refresh()