[tor-commits] [nyx/master] Refresh background when transversing menu
atagar at torproject.org
atagar at torproject.org
Mon Oct 30 23:30:07 UTC 2017
commit 698f095233e2432accdac15e3e0a749c7d4d49d2
Author: Damian Johnson <atagar at torproject.org>
Date: Mon Oct 30 16:25:16 2017 -0700
Refresh background when transversing menu
When displaying the menu we didn't redraw the background, causing old submenus
to remain visible while moving around.
---
nyx/menu.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nyx/menu.py b/nyx/menu.py
index 580687e..80fdc81 100644
--- a/nyx/menu.py
+++ b/nyx/menu.py
@@ -210,7 +210,7 @@ def show_menu():
selection_x = _draw_top_menubar(menu, cursor.selection)
_draw_submenu(cursor.selection, cursor.selection.submenu, 1, selection_x)
cursor.handle_key(nyx.curses.key_input())
- nyx_interface().redraw()
+ nyx_interface().redraw(True)
show_message()
More information about the tor-commits
mailing list