lel
This commit is contained in:
parent
c872644ffd
commit
86df5982cd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user