This commit is contained in:
shockrahwow 2019-09-09 18:35:19 -07:00
parent c872644ffd
commit 86df5982cd

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);