Merge pull request #473 from nmeum/flush-after-prompt

Flush current-output-port after writing prompt to it
This commit is contained in:
Justin Ethier 2021-08-03 21:50:06 -04:00 committed by GitHub
commit dae8813e60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,7 @@
(newline)
(repl))
(display "cyclone> ")
(flush-output-port)
(let ((obj (read)))
(if (eof-object? obj)
(newline) ;; Quick way to exit REPL