yaz-client: ctrl-d print \n before exiting
[yaz-moved-to-github.git] / client / client.c
index cb783b2..d7a0ec1 100644 (file)
@@ -4965,7 +4965,10 @@ static void client(void)
         {
             line_in=readline(C_PROMPT);
             if (!line_in)
+            {
+                putchar("\n");
                 break;
+            }
 #if HAVE_READLINE_HISTORY_H
             if (*line_in)
                 add_history(line_in);