              this.xterm.onData(this.handleTermData);
                }

                reset() {
                    this.inputBuffer = new BufferQueue();
                    this.input = "";
                    this.resolveInput = null;
                    this.activeInput = false;
                    this.inputStartCursor = null;

                    this.cursorPosition = 0;
                    this.historyIndex = -1;
                    this.beforeHistoryNav = "";
                }

                ope