- Fixed default inode sorting order from being highest to lowes to lowest to highest (bug)

This commit is contained in:
2026-11-22 12:55:41 +01:00
parent 57773fc2ef
commit dbffe5375e
9 changed files with 34 additions and 17 deletions
+7
View File
@@ -9,6 +9,11 @@ import { tokenize } from "@core/util/parser";
import { EventEmitter } from "./event_emitter";
import { ProcessManager } from "./process_manager";
export interface TTYState {
width: number;
height: number;
}
export class Shell {
private _State: Readonly<ShellState>;
private _Session: SessionState;
@@ -42,6 +47,7 @@ export class Shell {
if (this.BoundPID === payload.pid) this.BoundPID = null;
this._EventEmitter.emit("result", payload);
});
this._ProcessManager.on("signal", payload => this._EventEmitter.emit("signal", payload));
}
public async execute(input: string): Promise<void> {
@@ -130,4 +136,5 @@ export interface ShellEventMap {
stdout: { pid: number; data: Uint8Array };
stderr: { pid: number; data: Uint8Array };
result: { pid: number; result: Result<ShellError>; state: ShellState };
signal: { pid: number; sig: SIGNAL_MAP };
}