]>
Commit | Line | Data |
---|---|---|
e0d98711 | 1 | /** |
1d300911 | 2 | * @license MIT |
e0d98711 DI |
3 | */ |
4 | ||
5 | export interface ITerminal { | |
30fcdd6c | 6 | element: HTMLElement; |
e0d98711 DI |
7 | rowContainer: HTMLElement; |
8 | ydisp: number; | |
9 | lines: string[]; | |
10 | rows: number; | |
11 | ||
30fcdd6c DI |
12 | /** |
13 | * Emit the 'data' event and populate the given data. | |
14 | * @param data The data to populate in the event. | |
15 | */ | |
16 | handler(data: string); | |
e0d98711 DI |
17 | on(event: string, callback: () => void); |
18 | scrollDisp(disp: number, suppressScrollEvent: boolean); | |
19 | } |