Fix CircularList type and a typo

This commit is contained in:
Paris Kasidiaris
2017-07-16 03:47:15 +03:00
committed by Paris Kasidiaris
parent 4effe1f1d9
commit 393b411acc
3 changed files with 490 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export class Buffer {
public scrollTop: number = 0,
public tabs: any = {},
) {
this.lines = new CircularList<string>(this.terminal.scrollback);
this.lines = new CircularList<[string, number, string]>(this.terminal.scrollback);
this.scrollBottom = this.terminal.rows - 1;
}
}