()
| 103 | } |
| 104 | |
| 105 | protected finalizeTerminal(): void { |
| 106 | restoreTerminalState(); |
| 107 | if (this.hasTTY) { |
| 108 | try { |
| 109 | process.stdin.pause(); |
| 110 | } catch { |
| 111 | } |
| 112 | } |
| 113 | if (this.inkInstance) { |
| 114 | this.inkInstance.unmount(); |
| 115 | } |
| 116 | this.messageBuffer.clear(); |
| 117 | } |
| 118 | |
| 119 | protected async start(handlers: RemoteLauncherTerminalHandlers): Promise<RemoteLauncherExitReason> { |
| 120 | this.setupTerminal(handlers); |
nothing calls this directly
no test coverage detected