bolt.new / app /types /terminal.ts
GamerC0der
Add application file
bf8b26e
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;
}