From df6955b963e9718e496313cddc2d6e52dee495b4 Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Sat, 7 Mar 2009 19:53:10 -0500 Subject: [PATCH] Fixed most keypresses not working. --- curses/wicd-curses.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/curses/wicd-curses.py b/curses/wicd-curses.py index e5ff4ad..1d08fe2 100755 --- a/curses/wicd-curses.py +++ b/curses/wicd-curses.py @@ -222,7 +222,7 @@ def help_dialog(body): ]) textF = urwid.Text('Press any key to return.') - # textJ = urwid.Text('Nobody expects the Spanish Inquisition!') + # textJ = urwid.Text(('important','Nobody expects the Spanish Inquisition!')) blank = urwid.Text('') # Pile containing a text and columns? @@ -902,6 +902,7 @@ class appGUI(): self.diag.save_settings() self.restore_primary() for k in keys: + self.frame.keypress(self.size,k) if urwid.is_mouse_event(k): event, button, col, row = k self.frame.mouse_event( self.size,