MCPcopy
hub / github.com/mitmproxy/mitmproxy / key_edit_focus

Method key_edit_focus

mitmproxy/tools/console/consoleaddons.py:744–754  ·  view source on GitHub ↗

Execute the currently focused key binding.

(self)

Source from the content-addressed store, hash-verified

742
743 @command.command("console.key.edit.focus")
744 def key_edit_focus(self) -> None:
745 """
746 Execute the currently focused key binding.
747 """
748 b = self._keyfocus()
749 self.console_command(
750 "console.key.bind",
751 ",".join(b.contexts),
752 b.key,
753 b.command,
754 )
755
756 def running(self):
757 self.started = True

Callers

nothing calls this directly

Calls 3

_keyfocusMethod · 0.95
console_commandMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected