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)))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -14,4 +15,5 @@
 | 
			
		|||
     *tty-port*
 | 
			
		||||
     (lambda ()
 | 
			
		||||
       (for-each display args)
 | 
			
		||||
       (newline)))))
 | 
			
		||||
       (newline)))))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue