bolt.new/app/types/terminal.ts

9 lines
186 B
TypeScript
Raw Normal View History

export interface ITerminal {
readonly cols?: number;
readonly rows?: number;
reset: () => void;
write: (data: string) => void;
onData: (cb: (data: string) => void) => void;
}