mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Only use client for sizing when not detached, GitHub issue 2772.
This commit is contained in:
		@@ -280,7 +280,8 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
	memset(&sc, 0, sizeof sc);
 | 
			
		||||
	sc.item = item;
 | 
			
		||||
	sc.s = s;
 | 
			
		||||
	sc.tc = c;
 | 
			
		||||
	if (!detached)
 | 
			
		||||
		sc.tc = c;
 | 
			
		||||
 | 
			
		||||
	sc.name = args_get(args, 'n');
 | 
			
		||||
	sc.argc = args->argc;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user