Bugfixes and improvements

- ls fixed
- fixed a bug where ~ wouldnt resolve properly
- temporarily increased the process chunking treshold, because chunking breaks formatting
- added clear
- added pwd
This commit is contained in:
2026-09-06 00:26:09 +02:00
parent 776a93e21b
commit b75e691a0b
8 changed files with 443 additions and 199 deletions
+2 -1
View File
@@ -31,10 +31,11 @@ export class Process {
this.CommandDescriptor = descriptor;
this.Args = args;
// Check if positive later and throw an error if so
this._MaxChunkByteSize = 1024;
this._MaxChunkByteSize = 8096;
this._EventEmitter = new EventEmitter<ShellEventMap>();
}
// WARNING, CHUNKING OUTPUT BREAKS FORMATING
private writeToOutput(chunks: Uint8Array[], eventType: "stdout" | "stderr", data: Uint8Array): void {
if (this._Settled) return;