mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Sync OpenBSD patchset 1118:
Add a helper function to send ready message.
This commit is contained in:
		@@ -46,6 +46,12 @@ server_fill_environ(struct session *s, struct environ *env)
 | 
			
		||||
	environ_set(env, "TMUX", var);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
server_write_ready(struct client *c)
 | 
			
		||||
{
 | 
			
		||||
	server_write_client(c, MSG_READY, NULL, 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
server_write_client(
 | 
			
		||||
    struct client *c, enum msgtype type, const void *buf, size_t len)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user