mirror of
https://github.com/harivansh-afk/asap.it.git
synced 2026-04-17 05:00:16 +00:00
first commit
This commit is contained in:
commit
1cdbffff09
200 changed files with 30007 additions and 0 deletions
9
app/types/terminal.ts
Normal file
9
app/types/terminal.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue