mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master' into master
This commit is contained in:
		
							
								
								
									
										5
									
								
								spawn.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								spawn.c
									
									
									
									
									
								
							@@ -259,7 +259,10 @@ spawn_pane(struct spawn_context *sc, char **cause)
 | 
			
		||||
		layout_init(w, new_wp);
 | 
			
		||||
	} else {
 | 
			
		||||
		new_wp = window_add_pane(w, sc->wp0, hlimit, sc->flags);
 | 
			
		||||
		layout_assign_pane(sc->lc, new_wp);
 | 
			
		||||
		if (sc->flags & SPAWN_ZOOM)
 | 
			
		||||
			layout_assign_pane(sc->lc, new_wp, 1);
 | 
			
		||||
		else
 | 
			
		||||
			layout_assign_pane(sc->lc, new_wp, 0);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user