]> git.cworth.org Git - mnemon/blobdiff - mnemon.c
Print newline on EOF
[mnemon] / mnemon.c
index 67b5889dcfa1040d56c17a33bad250906bd94420..1eebd20df491681e42a21190451ec55116f3893b 100644 (file)
--- a/mnemon.c
+++ b/mnemon.c
@@ -637,8 +637,10 @@ mnemon_do_challenges (mnemon_t *mnemon)
        printf ("%s\n", item->challenge);
 
        response = readline ("> ");
-       if (response == NULL)
+       if (response == NULL) {
+           printf ("\n");
            break;
+       }
 
        correct = (strcmp (response, item->response) == 0);