Move scrollTop and scrollBottom into Buffer

This commit is contained in:
Paris Kasidiaris
2017-07-16 03:47:15 +03:00
committed by Paris Kasidiaris
parent d75e0b99d5
commit 4626e19b75
7 changed files with 56 additions and 71 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ describe('SelectionManager', () => {
buffer.push(stringToRow('4'));
buffer.push(stringToRow('5'));
selectionManager.selectAll();
terminal.ybase = buffer.length - terminal.rows;
terminal.buffer.ybase = buffer.length - terminal.rows;
assert.equal(selectionManager.selectionText, '1\n2\n3\n4\n5');
});
});