The terminal works!

This commit is contained in:
Daniel Imms
2017-08-05 02:22:43 -07:00
parent 2104dccec5
commit 41c335c0e6
6 changed files with 48 additions and 45 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ describe('SelectionManager', () => {
let model: TestSelectionModel;
beforeEach(() => {
terminal = <any>{ cols: 80, rows: 2, ybase: 0 };
terminal.scrollback = 10;
terminal = <any>{ cols: 80, rows: 2, ybase: 0, options: {} };
terminal.options.scrollback = 10;
terminal.buffers = new BufferSet(terminal);
terminal.buffer = terminal.buffers.active;