sync: sync wip stuff
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import type { Item } from '../fs/Item'
|
||||
import type { SimpleStream } from '../utils/SimpleStream'
|
||||
import { Program } from './Program'
|
||||
|
||||
export class Clear extends Program {
|
||||
async Exec(_: SimpleStream<string>, stdout: SimpleStream<string>, __: string[]): Promise<number> {
|
||||
async Exec(_: SimpleStream<string>, stdout: SimpleStream<string>, __: Item, ___: string[]): Promise<number> {
|
||||
stdout.emit('\f')
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user