summaryrefslogtreecommitdiff
path: root/extra/source/wicd/wicd-1.7.3-urwid-1.3.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/wicd/wicd-1.7.3-urwid-1.3.0.patch')
-rw-r--r--extra/source/wicd/wicd-1.7.3-urwid-1.3.0.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/source/wicd/wicd-1.7.3-urwid-1.3.0.patch b/extra/source/wicd/wicd-1.7.3-urwid-1.3.0.patch
new file mode 100644
index 00000000..a028059f
--- /dev/null
+++ b/extra/source/wicd/wicd-1.7.3-urwid-1.3.0.patch
@@ -0,0 +1,15 @@
+--- curses/wicd-curses.py 2015-01-27 22:35:25.414781192 -0300
++++ cursesb/wicd-curses.py 2015-01-28 01:13:48.078904587 -0300
+@@ -1153,9 +1153,10 @@
+ if not ui._started:
+ return False
+
+- input_data = ui.get_input_nonblocking()
++ ui.set_input_timeouts(max_wait=0)
++ input_data = ui.get_input()
+ # Resolve any "alarms" in the waiting
+- self.handle_keys(input_data[1])
++ self.handle_keys(input_data)
+
+ # Update the screen
+ canvas = self.frame.render((self.size), True)