aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-03-19 13:05:27 +1300
committerAldo Cortesi <aldo@corte.si>2017-03-19 13:05:27 +1300
commit6f745b90a836e6eb5e78a670bb94a0125626ff20 (patch)
treed0476bf1704a46c076a9ed556ad7d6ba23425df5
parentb1ef4bce305c284635c241cc8cf5cf86262730cb (diff)
downloadmitmproxy-6f745b90a836e6eb5e78a670bb94a0125626ff20.tar.gz
mitmproxy-6f745b90a836e6eb5e78a670bb94a0125626ff20.tar.bz2
mitmproxy-6f745b90a836e6eb5e78a670bb94a0125626ff20.zip
console options: fix bug that caused keys to be handled by wrong component
-rw-r--r--mitmproxy/tools/console/options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/tools/console/options.py b/mitmproxy/tools/console/options.py
index f38550f9..65b903db 100644
--- a/mitmproxy/tools/console/options.py
+++ b/mitmproxy/tools/console/options.py
@@ -107,6 +107,7 @@ class OptionItem(urwid.WidgetWrap):
def keypress(self, size, key):
if self.editing:
self._w[1].keypress(size, key)
+ return
return key