Merge branch 'master' of gitlab.com:shockrah/csnotes

This commit is contained in:
shockrah
2019-09-15 23:46:04 -07:00
7 changed files with 119 additions and 0 deletions

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