mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Extend pane lookup special case for switch-client to mouse target ("=")
so that it works for panes on status line.
This commit is contained in:
		@@ -61,7 +61,8 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item)
 | 
				
			|||||||
	const char		*tablename;
 | 
						const char		*tablename;
 | 
				
			||||||
	struct key_table	*table;
 | 
						struct key_table	*table;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (tflag != NULL && tflag[strcspn(tflag, ":.%")] != '\0') {
 | 
						if (tflag != NULL &&
 | 
				
			||||||
 | 
						    (tflag[strcspn(tflag, ":.%")] != '\0' || strcmp(tflag, "=") == 0)) {
 | 
				
			||||||
		type = CMD_FIND_PANE;
 | 
							type = CMD_FIND_PANE;
 | 
				
			||||||
		flags = 0;
 | 
							flags = 0;
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user