diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-03-21 12:30:11 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-03-21 12:30:11 +0100 |
commit | 04902b39229eafdfa41e2c1d5a9857133f53805d (patch) | |
tree | 8b809bea58c71dd577281a02c204e207cb36f152 /scheme | |
parent | 34705d0e411aa28c8a83ca521bd7c5107a37ffd7 (diff) | |
download | geiser-guile-04902b39229eafdfa41e2c1d5a9857133f53805d.tar.gz geiser-guile-04902b39229eafdfa41e2c1d5a9857133f53805d.tar.bz2 |
Racket: use the proper interaction port for input (#32844)
Thanks to Caleb Reach.
We were using current-input-port, which is not the right port in
graphical environments.
Diffstat (limited to 'scheme')
-rw-r--r-- | scheme/racket/geiser/user.rkt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scheme/racket/geiser/user.rkt b/scheme/racket/geiser/user.rkt index 3ef978b..621b47f 100644 --- a/scheme/racket/geiser/user.rkt +++ b/scheme/racket/geiser/user.rkt @@ -64,7 +64,7 @@ (define ((geiser-read prompt)) (prompt) (flush-output) - (let* ([in (current-input-port)] + (let* ([in ((current-get-interaction-input-port))] [form ((current-read-interaction) (object-name in) in)]) (syntax-case form () [(uq cmd) (eq? 'unquote (syntax-e #'uq)) |