.length - this.cursorPosition) +
                                "C",
                        );
                        this.cursorPosition = this.input.length;
                    }
                }

                updateHistory() {
                    if (this.historyIndex !== -1) {
                        this.historyBuffer[this.historyIndex] = this.input;
                    } else {
                        this.beforeHistoryNav = this.input;
                    }
                }

                h