summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-03-21 12:30:11 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-03-21 12:30:11 +0100
commit04902b39229eafdfa41e2c1d5a9857133f53805d (patch)
tree8b809bea58c71dd577281a02c204e207cb36f152 /scheme/racket/geiser
parent34705d0e411aa28c8a83ca521bd7c5107a37ffd7 (diff)
downloadgeiser-chez-04902b39229eafdfa41e2c1d5a9857133f53805d.tar.gz
geiser-chez-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/racket/geiser')
-rw-r--r--scheme/racket/geiser/user.rkt2
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))