MCPcopy
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

keypressMethod · 0.45

Calls 2

stop_editMethod · 0.95
_modifiedMethod · 0.95

Tested by

no test coverage detected