21 lines
516 B
TypeScript
21 lines
516 B
TypeScript
/**
|
|
* xterm.js: xterm, in the browser
|
|
* Copyright (c) 2014-2016, SourceLair Private Company (www.sourcelair.com (MIT License)
|
|
*/
|
|
|
|
export interface ITerminal {
|
|
element: HTMLElement;
|
|
rowContainer: HTMLElement;
|
|
ydisp: number;
|
|
lines: string[];
|
|
rows: number;
|
|
|
|
/**
|
|
* Emit the 'data' event and populate the given data.
|
|
* @param data The data to populate in the event.
|
|
*/
|
|
handler(data: string);
|
|
on(event: string, callback: () => void);
|
|
scrollDisp(disp: number, suppressScrollEvent: boolean);
|
|
}
|