change prompt
authorLaurent Mazet <mazet@softndesign.org>
Wed, 18 Jan 2023 23:03:00 +0000 (00:03 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Wed, 18 Jan 2023 23:03:00 +0000 (00:03 +0100)
calc.c

diff --git a/calc.c b/calc.c
index 0f8604cae8ca621e6549f118d90ff68b60adec25..749280c38b3bd4dad1e8f82606e96bd1b1a7a143 100644 (file)
--- a/calc.c
+++ b/calc.c
@@ -99,7 +99,7 @@ int main (int argc, char *argv[])
 
     /* read from input stream */
 
-    while ((buffer = readline ("> ")) != NULL) {
+    while ((buffer = readline ("<= ")) != NULL) {
 
         /* check empty line */
         if (strlen (buffer) == 0) {