()
| 56 | const rl = readline.createInterface({ input: stdin, escapeCodeTimeout: 50 }) |
| 57 | const onLine = (line: string) => Queue.offerUnsafe(lines, line) |
| 58 | const onClose = () => { |
| 59 | readlineActive = false |
| 60 | Queue.endUnsafe(lines) |
| 61 | } |
| 62 | readlineActive = true |
| 63 | readline.emitKeypressEvents(stdin, rl) |
| 64 | rl.on("line", onLine) |
nothing calls this directly
no outgoing calls
no test coverage detected