feat: complete shell revamp
This commit is contained in:
@@ -4,7 +4,7 @@ import { Program } from './Program'
|
||||
|
||||
export class Clear extends Program {
|
||||
async Exec(_: SimpleStream<string>, stdout: SimpleStream<string>, __: Item, ___: string[]): Promise<number> {
|
||||
stdout.emit('\f')
|
||||
stdout.emit('\x1b[2J\x1b[H')
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user