({ raw }: { raw?: boolean } = {})
| 138 | } |
| 139 | |
| 140 | getScreen({ raw }: { raw?: boolean } = {}): string { |
| 141 | const lastScreen = this.#currentOutput?.getLastChunk({ raw: Boolean(raw) }) ?? ''; |
| 142 | return raw ? lastScreen : stripVTControlCharacters(lastScreen).trim(); |
| 143 | } |
| 144 | |
| 145 | async getFullOutput({ raw }: { raw?: boolean } = {}): Promise<string> { |
| 146 | const output = this.#outputs.map((o) => o.getFullOutput()).join(''); |
no test coverage detected