MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / send

Method send

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

Send text input to the freebuff CLI (presses Enter by default).

(
    text: string,
    options?: { noEnter?: boolean; waitIdle?: number },
  )

Source from the content-addressed store, hash-verified

135
136 /** Send text input to the freebuff CLI (presses Enter by default). */
137 async send(
138 text: string,
139 options?: { noEnter?: boolean; waitIdle?: number },
140 ): Promise<void> {
141 tmuxSend(this.name, text, { ...options, force: true })
142 }
143
144 /** Send a special key (e.g. Escape, C-c, Enter). */
145 async sendKey(key: string): Promise<void> {

Calls 1

tmuxSendFunction · 0.90

Tested by

no test coverage detected