Fixed Pish errors, prompt now prints, core dump after prompt input still

This commit is contained in:
2022-10-25 01:30:43 -05:00
parent 52aeeb02e5
commit 66794db902
3 changed files with 23 additions and 13 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#define COMMON_H
typedef struct CommandStruct {
char** argv;
char* argv[100]; // Max 100 commands
int argc;
} CommandStruct;
+1 -1
View File
@@ -6,6 +6,6 @@
void Pish(void);
void Execute(char* command);
char* GetInput(void);
void ParseInput(char* inputString, CommandStruct command);
void ParseInput(char* inputString, CommandStruct* command);
#endif