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

Method key_short

mitmproxy/tools/console/keymap.py:63–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 return self.key.replace("space", " ")
62
63 def key_short(self) -> str:
64 return (
65 self.key.replace("enter", "⏎").replace("right", "→").replace("space", "␣")
66 )
67
68 def sortkey(self):
69 return self.key + ",".join(self.contexts)

Callers 2

test_quickhelpFunction · 0.80
_make_rowFunction · 0.80

Calls 1

replaceMethod · 0.45

Tested by 1

test_quickhelpFunction · 0.64