mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Make input off flag (selectp -d) apply to synchronize-panes too.
This commit is contained in:
		
							
								
								
									
										4
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								window.c
									
									
									
									
									
								
							@@ -1127,7 +1127,9 @@ window_pane_key(struct window_pane *wp, struct client *c, struct session *s,
 | 
			
		||||
		TAILQ_FOREACH(wp2, &wp->window->panes, entry) {
 | 
			
		||||
			if (wp2 == wp || wp2->mode != NULL)
 | 
			
		||||
				continue;
 | 
			
		||||
			if (wp2->fd != -1 && window_pane_visible(wp2))
 | 
			
		||||
			if (wp2->fd == -1 || wp2->flags & PANE_INPUTOFF)
 | 
			
		||||
				continue;
 | 
			
		||||
			if (window_pane_visible(wp2))
 | 
			
		||||
				input_key(wp2, key, NULL);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user