mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Store state shared between multiple commands in the queue in a shared
structure.
This commit is contained in:
		@@ -297,7 +297,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
		} else if (c->session != NULL)
 | 
			
		||||
			c->last_session = c->session;
 | 
			
		||||
		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