From 5a5a78c608a516897be3ad72a22d8bf5854abc9a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 11 Sep 2015 11:46:39 +0100 Subject: [PATCH] Improve redraw behaviour on resize --- src/ncurses_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index c1370a79..a20268b7 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -480,7 +480,7 @@ void NCursesUI::check_resize(bool force) m_dirty = true; ungetch(KEY_RESIZE); - wrefresh(stdscr); + clearok(curscr, true); } bool NCursesUI::is_key_available()