File size: 219 Bytes
2e1ab99
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
export interface ITerminal {
  readonly cols?: number;
  readonly rows?: number;

  reset: () => void;
  write: (data: string) => void;
  onData: (cb: (data: string) => void) => void;
  input: (data: string) => void;
}