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