MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / get_focus

Method get_focus

mitmproxy/tools/console/options.py:122–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 return OptionItem(self, opt, pos == self.index, self.maxlen, editing)
121
122 def get_focus(self):
123 return self.focus_obj, self.index
124
125 def set_focus(self, index):
126 self.editing = False

Callers 2

keypressMethod · 0.45
current_nameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected