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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user