From 698b08fa45715b2d24f311c041f3858decbd21d6 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Apr 2007 11:13:32 -0700 Subject: [PATCH] Print newline on EOF --- mnemon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mnemon.c b/mnemon.c index 67b5889..1eebd20 100644 --- 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); -- 2.43.0