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

Method keyspec

mitmproxy/tools/console/keymap.py:56–61  ·  view source on GitHub ↗

Translate the key spec from a convenient user specification to one Urwid understands.

(self)

Source from the content-addressed store, hash-verified

54 self.help = help
55
56 def keyspec(self):
57 """
58 Translate the key spec from a convenient user specification to one
59 Urwid understands.
60 """
61 return self.key.replace("space", " ")
62
63 def key_short(self) -> str:
64 return (

Callers 3

test_bindingFunction · 0.95
bindMethod · 0.80
unbindMethod · 0.80

Calls 1

replaceMethod · 0.45

Tested by 1

test_bindingFunction · 0.76