NCursesUI: fix redraw when showing a new menu
This commit is contained in:
parent
9a6712e56b
commit
44b0957e10
|
@ -444,7 +444,11 @@ void NCursesUI::menu_show(memoryview<String> items,
|
||||||
MenuStyle style)
|
MenuStyle style)
|
||||||
{
|
{
|
||||||
if (m_menu_win)
|
if (m_menu_win)
|
||||||
|
{
|
||||||
|
wredrawln(stdscr, (int)window_pos(m_menu_win).line,
|
||||||
|
(int)window_size(m_menu_win).line);
|
||||||
delwin(m_menu_win);
|
delwin(m_menu_win);
|
||||||
|
}
|
||||||
m_items.clear();
|
m_items.clear();
|
||||||
|
|
||||||
m_menu_fg = fg;
|
m_menu_fg = fg;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user