MCPcopy
hub / github.com/mitmproxy/mitmproxy / key_unbind

Method key_unbind

mitmproxy/tools/console/consoleaddons.py:706–713  ·  view source on GitHub ↗

Un-bind a shortcut key.

(self, contexts: Sequence[str], key: str)

Source from the content-addressed store, hash-verified

704
705 @command.command("console.key.unbind")
706 def key_unbind(self, contexts: Sequence[str], key: str) -> None:
707 """
708 Un-bind a shortcut key.
709 """
710 try:
711 self.master.keymap.remove(key, contexts)
712 except ValueError as v:
713 raise exceptions.CommandError(v)
714
715 def _keyfocus(self):
716 kwidget = self.master.window.current("keybindings")

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected