change to max/min

This commit is contained in:
Jörg Breitbart
2019-07-09 22:30:00 +02:00
parent 9d2418ece6
commit ab25997192
2 changed files with 6 additions and 19 deletions
+2
View File
@@ -25,6 +25,8 @@ function getCursor(term: TestTerminal): number[] {
describe('InputHandler', () => {
describe('save and restore cursor', () => {
const terminal = new MockInputHandlingTerminal();
terminal.cols = 80;
terminal.rows = 30;
terminal.buffer.x = 1;
terminal.buffer.y = 2;
terminal.buffer.ybase = 0;