(source: Source, data: any)
| 40 | } |
| 41 | |
| 42 | private capture(source: Source, data: any) { |
| 43 | const msg = this.preserveAnsi ? data.toString() : stripVTControlCharacters(data.toString()) |
| 44 | this[source] += msg |
| 45 | this[`${source}Listeners`].forEach(fn => fn()) |
| 46 | } |
| 47 | |
| 48 | write(data: string) { |
| 49 | this.resetOutput() |
no test coverage detected