mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-17 09:47:33 +02:00
Merge pull request #473 from nmeum/flush-after-prompt
Flush current-output-port after writing prompt to it
This commit is contained in:
commit
dae8813e60
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
||||||
(newline)
|
(newline)
|
||||||
(repl))
|
(repl))
|
||||||
(display "cyclone> ")
|
(display "cyclone> ")
|
||||||
|
(flush-output-port)
|
||||||
(let ((obj (read)))
|
(let ((obj (read)))
|
||||||
(if (eof-object? obj)
|
(if (eof-object? obj)
|
||||||
(newline) ;; Quick way to exit REPL
|
(newline) ;; Quick way to exit REPL
|
||||||
|
|
Loading…
Add table
Reference in a new issue