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
+5
View File
@@ -28,6 +28,11 @@ export function resolvePath(state: ShellState, path: string): number {
continue;
}
if (name === "~") {
currentNode = state.filesystem.getNode(session.user.home) as DirectoryNode;
continue;
}
const inode = currentNode.children[name];
if (!inode)