added getWidth method to bash and terminal + callbackf unction on the end for width rertival and calculations in the ls command

This commit is contained in:
2026-01-02 16:52:20 +01:00
parent 582eb68139
commit 7852a77a7c
5 changed files with 74 additions and 53 deletions

View File

@@ -91,6 +91,10 @@ export class Bash {
return this.vfs;
}
getTerminalWidth(): number {
return this._terminal.getTerminalWidth();
}
hasSudoPerms(uid: number): boolean {
return this._group[1].members.includes(uid);
}