respect a non-default existing prompt-read

svn: r5826
This commit is contained in:
Eli Barzilay 2007-03-25 20:24:04 +00:00
parent 177610e70d
commit 87f93ea412

View File

@ -11,7 +11,9 @@
(provide (all-from (lib "turbo.ss" "swindle"))
(all-from (lib "clos.ss" "swindle"))
(all-from (lib "extra.ss" "swindle")))
(current-prompt-read (lambda () (display "=> ") (read)))
(current-prompt-read
(let ([old-prompt-read (current-prompt-read)])
(lambda () (display "=") (flush-output) (old-prompt-read))))
(install-swindle-printer)
;; This comes out ugly in DrScheme.
;; (printf