summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index d0e282f..ea26c6c 100644
--- a/main.c
+++ b/main.c
@@ -44,6 +44,10 @@ restart:
while(!off){
checkmem("main loop");
+ if(needsnewline){
+ print("\n");
+ needsnewline = 0;
+ }
print("\t");
Datum *result = evalline(nil, stdin, 1);
if(result == nil)