bigass changes
- ls beginnings, - added groups to shellstate - made buffers optional in result factory functions, - made an enum signal map, - fixed a minor bug in path resolver that didnt output the '/' if the inode was at root (inode 0) from the moment it was called - added code that attaches the shell to the built-in IDE terminal -- tests need fixing, new code needs testing
This commit is contained in:
+8
-1
@@ -3,6 +3,13 @@ export type Input = string;
|
||||
//Payload optional because command that handles that signal
|
||||
// is going to know what shape it is, therefore also able to cast it;
|
||||
export type Signal = {
|
||||
type: string;
|
||||
type: SIGNAL_MAP;
|
||||
payload?: unknown;
|
||||
};
|
||||
|
||||
export enum SIGNAL_MAP {
|
||||
SIGINT = 2,
|
||||
SIGTERM = 3,
|
||||
SIGKILL = 9,
|
||||
INPUT = 10,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user