mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-22 07:09:18 +02:00
undoing with-raw-io change
This commit is contained in:
parent
d62ec14dd0
commit
9e29ea721c
1 changed files with 2 additions and 4 deletions
|
@ -558,8 +558,7 @@
|
|||
(flush-output out)
|
||||
(if completion
|
||||
(vector-set! (car keymap) 9 completion))
|
||||
((if (get-key args 'no-stty?:) (lambda (in out f) (f)) with-raw-io)
|
||||
in
|
||||
((if (get-key args 'no-stty?:) (lambda (out f) (f)) with-raw-io)
|
||||
out
|
||||
(lambda ()
|
||||
(let lp ((kmap keymap))
|
||||
|
@ -599,8 +598,7 @@
|
|||
(history (or (get-key rest 'history:) (make-history))))
|
||||
(let ((edit-line
|
||||
(apply make-line-editor 'no-stty?: #t 'history: history rest)))
|
||||
((if (get-key args 'no-stty?:) (lambda (in out f) (f)) with-raw-io)
|
||||
in
|
||||
((if (get-key args 'no-stty?:) (lambda (out f) (f)) with-raw-io)
|
||||
out
|
||||
(lambda ()
|
||||
(let lp ()
|
||||
|
|
Loading…
Add table
Reference in a new issue