commit 4b4d412f2288f3112a09ed822bfacd3682d88fe7 parent 1145b94c97ce17d057128ab7b71a9cc6f90c9d6a Author: sin <sin@2f30.org> Date: Wed, 14 May 2014 16:15:12 +0100 remember to fflush after printing the prompt Diffstat:
M | repl.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/repl.c b/repl.c @@ -8,6 +8,7 @@ main(void) { do { printf("> "); + fflush(stdout); print(eval(sexpression(stdin))); putchar('\n'); fflush(stdout);