mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
BFU: Redraw the terminal when moving the main menu to the bottom.
This fixes a bug where choosing e.g. "About" from the menu left the main menu visible but Ctrl-L in the About dialog hid it again.
This commit is contained in:
parent
ca84c353b5
commit
1fdd9002cb
@ -153,6 +153,7 @@ select_menu_item(struct terminal *term, struct menu_item *it, void *data)
|
|||||||
menu->selected = -1;
|
menu->selected = -1;
|
||||||
del_from_list(win);
|
del_from_list(win);
|
||||||
add_to_list_end(term->windows, win);
|
add_to_list_end(term->windows, win);
|
||||||
|
redraw_terminal(term);
|
||||||
} else
|
} else
|
||||||
delete_window(win);
|
delete_window(win);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user