Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mitmproxy/mitmproxy
/ get_focus
Method
get_focus
mitmproxy/tools/console/keybindings.py:60–61 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
58
return
KeyItem(self, binding, pos == self.index)
59
60
def
get_focus(self):
61
return
self.focus_obj, self.index
62
63
def
set_focus(self, index):
64
binding = self.bindings[index]
Callers
2
keypress
Method · 0.45
get_focused_binding
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected