MCPcopy
hub / github.com/CodebuffAI/codebuff / sendKey

Method sendKey

freebuff/e2e/utils/freebuff-session.ts:145–147  ·  view source on GitHub ↗

Send a special key (e.g. Escape, C-c, Enter).

(key: string)

Source from the content-addressed store, hash-verified

143
144 /** Send a special key (e.g. Escape, C-c, Enter). */
145 async sendKey(key: string): Promise<void> {
146 tmuxSendKey(this.name, key)
147 }
148
149 /** Capture current terminal output, optionally waiting first. */
150 async capture(waitSeconds?: number): Promise<string> {

Callers 3

openHelpFunction · 0.80

Calls 1

tmuxSendKeyFunction · 0.90

Tested by 1

openHelpFunction · 0.64