Refresh after (clear), obtain paint-lock earlier
part of darcs patch Thu Sep 22 23:04:37 EEST 2005 Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
This commit is contained in:
		
							parent
							
								
									8a1cd89844
								
							
						
					
					
						commit
						cec1cc5d56
					
				| 
						 | 
				
			
			@ -319,12 +319,13 @@
 | 
			
		|||
  (save-tty-excursion
 | 
			
		||||
   (current-input-port)
 | 
			
		||||
   (lambda ()
 | 
			
		||||
     (obtain-lock paint-lock)
 | 
			
		||||
     (def-prog-mode)
 | 
			
		||||
     (clear)
 | 
			
		||||
     (refresh)
 | 
			
		||||
     (endwin)
 | 
			
		||||
     (restore-initial-tty-info! (current-input-port))
 | 
			
		||||
     (drain-tty (current-output-port))
 | 
			
		||||
     (obtain-lock paint-lock)
 | 
			
		||||
     (let ((foreground-pgrp (tty-process-group (current-output-port)))
 | 
			
		||||
	   (proc
 | 
			
		||||
	    (fork
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue