close the INPUT-PORT
This commit is contained in:
parent
ee148a86ab
commit
214a66021f
|
@ -5,6 +5,7 @@
|
||||||
open-pty
|
open-pty
|
||||||
(lambda (input-port name)
|
(lambda (input-port name)
|
||||||
(set! *tty-port* (dup->outport input-port))
|
(set! *tty-port* (dup->outport input-port))
|
||||||
|
(close input-port)
|
||||||
(set-port-buffering *tty-port* bufpol/none)
|
(set-port-buffering *tty-port* bufpol/none)
|
||||||
name)))
|
name)))
|
||||||
|
|
||||||
|
@ -14,4 +15,5 @@
|
||||||
*tty-port*
|
*tty-port*
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(for-each display args)
|
(for-each display args)
|
||||||
(newline)))))
|
(newline)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue