Commit ad8741d5 authored by Damian Johnson's avatar Damian Johnson
Browse files

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
parent ed4bee53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)