unsable code rework, doesnt run
This commit is contained in:
@@ -3,6 +3,7 @@ import type { CommandArgs, ICommand, Result } from "../static";
|
||||
|
||||
export const cmd_clear = function(this: Bash, args: CommandArgs): Result {
|
||||
let result: Result = { exitCode: ExitCode.ERROR, path: this.getCwd() };
|
||||
this.clearTerminal();
|
||||
result.exitCode = ExitCode.SUCCESS;
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user