[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [nyx/master] Refresh background when transversing menu
commit 698f095233e2432accdac15e3e0a749c7d4d49d2
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits