             handleCursorErase() {
                    // Don't delete past the start of input
                    if (
                        this.xterm.buffer.active.cursorX <=
                        this.inputStartCursor
                    ) {
                        return;
                    }
                    const trailing = this.input.slice(this.cursorPosition);
                    this.input =
                        this.input.slice(0, this.cursorPosition - 1) + trailing;
                  