ut = false;
                                }
                        }
                    } else {
                        this.handleCursorInsert(data);
                        this.updateHistory();
                    }
                };

                clearLine() {
                    this.xterm.write("\x1b[K");
                }

                writeLine(line) {
                    this.xterm.write(line.slice(0, -1));
                    this.xterm.write("\r\n");
                    return line;
 