[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [arm/master] fix: forcing redraw on ctrl+L reguardless of need



commit ad8741d5f43b0ba441d094bc1dea9aa9a4354254
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Wed Sep 28 10:12:27 2011 -0700

    fix: forcing redraw on ctrl+L reguardless of need
    
    The ctrl+L keybinding is suppose to perform a redraw but this was only making a
    'request' rather than forcing it, so unchanged portions of the interface
    weren't actually redrawn. Caught by np.
    
    https://trac.torproject.org/projects/tor/ticket/2830
---
 src/cli/controller.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cli/controller.py b/src/cli/controller.py
index 4e6dc82..762f955 100644
--- a/src/cli/controller.py
+++ b/src/cli/controller.py
@@ -778,7 +778,7 @@ def drawTorMonitor(stdscr, startTime):
       cli.wizard.showWizard()
     elif key == ord('l') - 96:
       # force redraw when ctrl+l is pressed
-      control.redraw()
+      control.redraw(True)
     else:
       for panelImpl in displayPanels:
         isKeystrokeConsumed = panelImpl.handleKey(key)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits