mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:07:38 +00:00 
			
		
		
		
	Store state shared between multiple commands in the queue in a shared
structure.
This commit is contained in:
		@@ -92,7 +92,7 @@ cmd_attach_session(struct cmdq_item *item, int dflag, int rflag,
 | 
			
		||||
			environ_update(s->options, c->environ, s->environ);
 | 
			
		||||
 | 
			
		||||
		c->session = s;
 | 
			
		||||
		if (!item->repeat)
 | 
			
		||||
		if (~item->shared->flags & CMDQ_SHARED_REPEAT)
 | 
			
		||||
			server_client_set_key_table(c, NULL);
 | 
			
		||||
		status_timer_start(c);
 | 
			
		||||
		notify_client("client-session-changed", c);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user