feat: streams, 'clear' command
This commit is contained in:
7
src/program/clear.ts
Normal file
7
src/program/clear.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { SimpleStream } from '../utils/SimpleStream'
|
||||
|
||||
export const ClearExec = async (stdin: SimpleStream<string>, stdout: SimpleStream<string>): Promise<number> => {
|
||||
stdout.emit("\f")
|
||||
|
||||
return 0
|
||||
}
|
||||
8
src/program/stdlibwsh.ts
Normal file
8
src/program/stdlibwsh.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
// stdlibwsh - (st)andard (lib)rary (w)eb (sh)ell
|
||||
// - céčkoismy at their peak
|
||||
|
||||
import type { SimpleStream } from '../utils/SimpleStream'
|
||||
|
||||
export const io = {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user