aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools/console/keybindings.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/tools/console/keybindings.py')
-rw-r--r--mitmproxy/tools/console/keybindings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/tools/console/keybindings.py b/mitmproxy/tools/console/keybindings.py
index 45f5c33c..312c19f9 100644
--- a/mitmproxy/tools/console/keybindings.py
+++ b/mitmproxy/tools/console/keybindings.py
@@ -135,7 +135,7 @@ class KeyBindings(urwid.Pile, layoutwidget.LayoutWidget):
)
self.master = master
- def focus(self):
+ def get_focused_binding(self):
if self.focus_position != 0:
return None
f = self.widget_list[0]