()
| 643 | } |
| 644 | |
| 645 | start(): void { |
| 646 | this.stopped = false; |
| 647 | this.terminal.start( |
| 648 | (data) => this.handleInput(data), |
| 649 | () => this.requestRender(), |
| 650 | ); |
| 651 | this.terminal.hideCursor(); |
| 652 | if (this.terminalColorSchemeNotificationsEnabled) { |
| 653 | this.terminal.write("\x1b[?2031h"); |
| 654 | } |
| 655 | this.queryCellSize(); |
| 656 | this.requestRender(); |
| 657 | } |
| 658 | |
| 659 | addInputListener(listener: InputListener): () => void { |
| 660 | this.inputListeners.add(listener); |
no test coverage detected