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

atagar at torproject.org atagar at torproject.org
Thu Sep 29 15:50:12 UTC 2011


commit ad8741d5f43b0ba441d094bc1dea9aa9a4354254
Author: Damian Johnson <atagar at torproject.org>
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)





More information about the tor-commits mailing list