We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef2609d commit 62424a3Copy full SHA for 62424a3
1 file changed
main.c
@@ -383,10 +383,10 @@ int main(int argc, const char **argv)
383
int cmd_mode = 0;
384
printf("> "); fflush(stdout);
385
p = get_input();
386
- if (!p)
387
- break;
388
- if (!strcmp(p, "/quit"))
+ if (!p || !strcmp(p, "/quit")) {
+ printf("\n");
389
break;
+ }
390
rc = 1; str = NULL;
391
392
if (*p == '/') {
0 commit comments