Send text input to the freebuff CLI (presses Enter by default).
(
text: string,
options?: { noEnter?: boolean; waitIdle?: number },
)
| 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> { |
no test coverage detected