This commit is contained in:
shockrahwow committed 2019-09-09 18:35:19 -07:00
1 parent c872644ffd
commit 86df5982cd
1 file changed
+3
+3
View File
@@ -15,6 +15,9 @@ int main(void) {
while(1) {
printf("%s", PROMPT);
fgets(buffer, MAX_BUF, stdin);
if(!strlen(buffer)) {
return 0;
}
// process the input
remove_newline(buffer);
exit_branch(buffer);