()
| 179 | } |
| 180 | |
| 181 | const handleJsonOutput = () => { |
| 182 | // Temporarily exit TUI, output JSON, then exit |
| 183 | renderer?.destroy() |
| 184 | const jsonOutput = sessionToJSON(data) |
| 185 | console.log(JSON.stringify(jsonOutput, null, 2)) |
| 186 | process.exit(0) |
| 187 | } |
| 188 | |
| 189 | renderer = await createCliRenderer({ |
| 190 | backgroundColor: 'transparent', |
nothing calls this directly
no test coverage detected