mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Only find each window once no matter how many panes, from Jonathan
Daugherty.
This commit is contained in:
		@@ -142,6 +142,7 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
			ARRAY_ADD(&list_idx, wm->idx);
 | 
								ARRAY_ADD(&list_idx, wm->idx);
 | 
				
			||||||
			ARRAY_ADD(&list_ctx, sctx);
 | 
								ARRAY_ADD(&list_ctx, sctx);
 | 
				
			||||||
 | 
								break;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	xfree(searchstr);
 | 
						xfree(searchstr);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user