- 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
+5
View File
@@ -1,4 +1,5 @@
import { getCurrentSession } from "@core/session_manager";
import { SIGNAL_MAP } from "@core/signal";
import { resolvePointerToHome } from "@core/util/path_resolver";
import { Termos } from "./entry";
@@ -34,6 +35,10 @@ shell.on("result", payload => {
process.stdout.write("\n" + resolvePointerToHome(payload.state, getCurrentSession(payload.state).cwd) + "\n> ");
});
shell.on("signal", payload => {
if (payload.sig === SIGNAL_MAP.CLR) console.clear();
});
shell.on("stdout", payload => {
const decoded = new TextDecoder().decode(payload.data);
process.stdout.write(decoded);