                  }
                        // TODO: Handle more escape sequences?
                    } else if (ord === 0x1b) {
                        // Handle special characters
                        switch (data.slice(1)) {
                            case "[A": // up
                                this.historyBack();
                                break;
                            case "[B": // down
                                this.historyForward();
                                break;
   