bolt.diy/app/types/terminal.ts

10 lines
219 B
TypeScript
Raw Permalink Normal View History

export interface ITerminal {
readonly cols?: number;
readonly rows?: number;
reset: () => void;
write: (data: string) => void;
onData: (cb: (data: string) => void) => void;
2024-11-08 16:17:31 +00:00
input: (data: string) => void;
}