this._terminal.y++;
if (this._terminal.y > this._terminal.scrollBottom) {
this._terminal.y--;
- this._terminal.scroll();
+ this._terminal.scroll(true);
}
} else {
if (ch_width === 2) // FIXME: check for xterm behavior
this._terminal.scrollBottom = this._terminal.normal.scrollBottom;
this._terminal.tabs = this._terminal.normal.tabs;
this._terminal.normal = null;
+ // Ensure the selection manager has the correct buffer
+ this._terminal.selectionManager.setBuffer(this._terminal.lines);
// if (params === 1049) {
// this.x = this.savedX;
// this.y = this.savedY;