From ad2aa35546541d03665953b65583ed00f4164034 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 12 Sep 2015 10:51:46 +0100 Subject: [PATCH] Fix ncurses info box avoiding dead menus --- src/ncurses_ui.cc | 2 ++ 1 file changed, 2 insertions(+) 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()