Tweak NCursesUI behaviour to reduce flickering on resize

This commit is contained in:
Maxime Coste 2015-09-19 11:30:17 +01:00
parent 37d7b027e0
commit 96b6b1b647

View File

@ -471,9 +471,8 @@ void NCursesUI::check_resize(bool force)
else else
kak_assert(false); kak_assert(false);
m_dirty = true;
ungetch(KEY_RESIZE); ungetch(KEY_RESIZE);
clearok(curscr, true); werase(curscr);
} }
bool NCursesUI::is_key_available() bool NCursesUI::is_key_available()