 when we started going
                        // through the history
                        this.input = this.beforeHistoryNav;
                        this.historyIndex = -1;
                    }
                    this.cursorHome(false);
                    this.clearLine();
                    this.xterm.write(this.input);
                    this.cursorPosition = this.input.length;
                }

                prompt = async () => {
                    this.activeInput = true;
                