Fixed FS class logic, with full support for table fs structure. Terminal sucressfully initializes (havent checked the commands) ls broken.

This commit is contained in:
2025-12-03 08:40:40 +01:00
parent 8e0ae3dd83
commit d404f5daab
8 changed files with 130 additions and 75 deletions

View File

@@ -129,9 +129,9 @@ export class Bash {
}
}
private appendNewResult(path: string[], output: any, cmd: string) {
private appendNewResult(workingDir: number, output: any, cmd: string) {
const data: PrintData = {
path: this.vfs.formatPath(this.vfs.pathArrayToString(path)),
path: this.vfs.formatPath(this.vfs.getPathByInode(workingDir)),
output: output,
cmd: cmd
};