(value: string)
| 40 | } |
| 41 | |
| 42 | function logPtyOutput(pid: number, data: string): void { |
| 43 | const cleaned = stripAnsiSequences(data).replace(/\s+/g, ' ').trim(); |
| 44 | if (cleaned) { |
| 45 | ptyLog(pid, `PTY> ${cleaned.slice(0, 300)}`); |
| 46 | } |
| 47 | } |
no test coverage detected