Capture current terminal output, optionally waiting first.
(waitSeconds?: number)
| 148 | |
| 149 | /** Capture current terminal output, optionally waiting first. */ |
| 150 | async capture(waitSeconds?: number): Promise<string> { |
| 151 | return tmuxCapture(this.name, { waitSeconds, noSave: true }) |
| 152 | } |
| 153 | |
| 154 | /** Capture and auto-save to the session logs directory with a label. */ |
| 155 | async captureLabeled(label: string, waitSeconds?: number): Promise<string> { |