MCPcopy
hub / github.com/mitmproxy/mitmproxy / exec

Method exec

docs/scripts/clirecording/clidirector.py:108–114  ·  view source on GitHub ↗
(self, keys: str, target=None)

Source from the content-addressed store, hash-verified

106 self.press_key(key, pause=pause, target=target)
107
108 def exec(self, keys: str, target=None) -> None:
109 if target is None:
110 target = self.tmux_pane
111 self.type(keys, target=target)
112 self.pause(1.25)
113 self.press_key("Enter", target=target)
114 self.pause(0.5)
115
116 def focus_pane(self, pane: libtmux.Pane, set_active_pane: bool = True) -> None:
117 pane.select_pane()

Callers 15

_iFunction · 0.80
OaFunction · 0.80
LcFunction · 0.80
lFunction · 0.80
sMethod · 0.80
vendor-BS4xPthR.jsFile · 0.80
readTextNodeMethod · 0.80
cwFunction · 0.80
updateRangeMethod · 0.80
apFunction · 0.80
pXFunction · 0.80
yXFunction · 0.80

Calls 3

typeMethod · 0.95
pauseMethod · 0.95
press_keyMethod · 0.95

Tested by

no test coverage detected