From 1e05134b477b817ebe5032ee74b1832b21bb8e1e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 22 Mar 2023 17:03:50 -0400 Subject: [PATCH 1/1] Minor fix to prompt generation. --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 7a6c6c8..b318cd0 100644 --- a/main.c +++ b/main.c @@ -82,9 +82,9 @@ char *myreadline(const char *prompt) } else { char *ln = fgets(buf, LINESIZE, settings.scriptfp); if (ln != NULL) { - fputs(PROMPT, stdout); + fputs(prompt, stdout); fputs(ln, stdout); - return ln; + return ln; } } } -- 2.31.1