From 96b6b1b6470a48bc374e76b0d26de1edf8f734f1 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 19 Sep 2015 11:30:17 +0100 Subject: [PATCH] Tweak NCursesUI behaviour to reduce flickering on resize --- src/ncurses_ui.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 574b071c..46c91c8d 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -471,9 +471,8 @@ void NCursesUI::check_resize(bool force) else kak_assert(false); - m_dirty = true; ungetch(KEY_RESIZE); - clearok(curscr, true); + werase(curscr); } bool NCursesUI::is_key_available()