Convert Viewport to a TS class

This commit is contained in:
Daniel Imms
2016-11-21 14:39:08 -08:00
parent 634d4af4dd
commit e0d9871195
2 changed files with 123 additions and 102 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* xterm.js: xterm, in the browser
* Copyright (c) 2014-2016, SourceLair Private Company (www.sourcelair.com (MIT License)
*/
export interface ITerminal {
rowContainer: HTMLElement;
ydisp: number;
lines: string[];
rows: number;
on(event: string, callback: () => void);
scrollDisp(disp: number, suppressScrollEvent: boolean);
}