Files
xterm.js/src/Interfaces.ts
T
2016-11-22 11:47:18 -08:00

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);
}