- Fixed default inode sorting order from being highest to lowes to lowest to highest (bug)
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user