Curses: unnecessary window erasing
When removing a temporary (menu, text, popup) window, the code was erasing it from memory and then refreshing the screen. This is unnecessary, as we're refreshing all the windows anyway.
This commit is contained in:
@@ -154,8 +154,6 @@ curses_create_window(int width, int height, orient orientation)
|
||||
void
|
||||
curses_destroy_win(WINDOW *win)
|
||||
{
|
||||
werase(win);
|
||||
wrefresh(win);
|
||||
delwin(win);
|
||||
if (win == activemenu)
|
||||
activemenu = NULL;
|
||||
|
||||
Reference in New Issue
Block a user