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

Method sig_modified

mitmproxy/tools/console/keybindings.py:48–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 signals.keybindings_change.connect(self.sig_modified)
47
48 def sig_modified(self):
49 self.bindings = list(self.master.keymap.list("all"))
50 self.set_focus(min(self.index, len(self.bindings) - 1))
51 self._modified()
52
53 def get_edit_text(self):
54 return self.focus_obj.get_edit_text()

Callers

nothing calls this directly

Calls 3

set_focusMethod · 0.95
listMethod · 0.80
_modifiedMethod · 0.80

Tested by

no test coverage detected