Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mitmproxy/mitmproxy
/ set_focus
Method
set_focus
mitmproxy/tools/console/grideditor/base.py:234–237 ·
view source on GitHub ↗
(self, focus)
Source
from the content-addressed store, hash-verified
232
return
None, None
233
234
def
set_focus(self, focus):
235
self.stop_edit()
236
self.focus = focus
237
self._modified()
238
239
def
get_next(self, pos):
240
if
pos + 1 >= len(self.lst):
Callers
1
keypress
Method · 0.45
Calls
2
stop_edit
Method · 0.95
_modified
Method · 0.95
Tested by
no test coverage detected