1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-29 14:44:56 +03:00

Force redraw everything, not just refresh

This commit is contained in:
Maxime Coste 2016-03-08 13:42:00 +00:00
parent 23f52d591c
commit 3cbc0d0b39

View File

@ -235,7 +235,9 @@ void Client::redraw_ifn()
void Client::force_redraw() void Client::force_redraw()
{ {
m_ui_pending |= Refresh; m_ui_pending |= Refresh | Draw |
(m_menu.items.empty() ? MenuHide : MenuShow | MenuSelect) |
(m_info.content.empty() ? InfoHide : InfoShow);
} }
void Client::reload_buffer() void Client::reload_buffer()