Permalink
Browse files

Racket: make sure stderr is flushed in REPL

Thanks to Haiwei Zhou for catching this one!
  • Loading branch information...
1 parent bfcdc1c commit 7c2ca2bb6e59e312019613db85fd86e7918ee1dc @jaor committed Dec 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 scheme/racket/geiser/user.rkt
@@ -66,7 +66,8 @@
(define ((geiser-read prompt))
(prompt)
- (flush-output)
+ (flush-output (current-error-port))
+ (flush-output (current-output-port))
(let* ([in ((current-get-interaction-input-port))]
[form ((current-read-interaction) (object-name in) in)])
(syntax-case form ()

0 comments on commit 7c2ca2b

Please sign in to comment.