mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Sync OpenBSD patchset 498:
Convert the window pane (pty master side) fd over to use a bufferevent. The evbuffer API is very similar to the existing tmux buffer API so this was remarkably painless. Not many possible ways to do it, I suppose.
This commit is contained in:
		
							
								
								
									
										3
									
								
								server.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								server.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: server.c,v 1.219 2009-11-08 23:00:44 tcunha Exp $ */
 | 
			
		||||
/* $Id: server.c,v 1.220 2009-11-08 23:02:56 tcunha Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -218,7 +218,6 @@ server_loop(void)
 | 
			
		||||
	while (!server_should_shutdown()) {
 | 
			
		||||
		server_update_socket();
 | 
			
		||||
 | 
			
		||||
		server_window_prepare();
 | 
			
		||||
		server_client_prepare();
 | 
			
		||||
 | 
			
		||||
		event_loopexit(&tv);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user