From a968c5c2fd1db6258c22a600fecda179776840b7 Mon Sep 17 00:00:00 2001 From: Jim Monte Date: Tue, 10 Dec 2019 00:14:22 -0500 Subject: [PATCH] Made UI more consistent when comments are entered. --- src/frontend/parser/lexical.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/parser/lexical.c b/src/frontend/parser/lexical.c index e5ba348c6..cd970ea3a 100644 --- a/src/frontend/parser/lexical.c +++ b/src/frontend/parser/lexical.c @@ -225,8 +225,11 @@ nloop: tfree(linebuf.s); return NULL; } - while (((c = cp_readchar(&string, cp_inp_cur)) != '\n') && (c != EOF)) + while (((c = cp_readchar(&string, cp_inp_cur)) != '\n') && + (c != EOF)) { ; + } + prompt(); goto nloop; }