Merge branch 'master' of gitlab.com:shockrah/csnotes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user