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 -1
View File
@@ -36,7 +36,8 @@ export class Buffer {
public scrollTop: number = 0,
public tabs: any = {},
) {
this.lines = new CircularList<[number, string, number][]>(this.terminal.scrollback);
// TODO: Don't cast terminal to any
this.lines = new CircularList<[number, string, number][]>(this.terminal.options.scrollback);
this.scrollBottom = this.terminal.rows - 1;
}
}