bolt.diy / app /types /terminal.ts
codacus's picture
feat: added bolt dedicated shell
d1f3e8c
raw
history blame
219 Bytes
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;
}