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