bug fixed: restoring saved runstacks and break-suspend counter
svn: r4556
This commit is contained in:
parent
a6dacbcd0b
commit
fc7fca0915
|
@ -10,4 +10,10 @@
|
||||||
(error 'readline-input
|
(error 'readline-input
|
||||||
"invoke this library when the current-input-port is stdin"))
|
"invoke this library when the current-input-port is stdin"))
|
||||||
|
|
||||||
(current-prompt-read read-cmdline-syntax))
|
(current-prompt-read
|
||||||
|
(let ([orig-read (current-prompt-read)]
|
||||||
|
[orig-input (current-input-port)])
|
||||||
|
(lambda ()
|
||||||
|
(if (eq? (current-input-port) orig-input)
|
||||||
|
(read-cmdline-syntax)
|
||||||
|
(orig-read))))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user