mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Document that switch-client can change all of session,window,pane and
check for % in the target as well as ":.".
This commit is contained in:
		@@ -61,7 +61,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
	if ((c = cmd_find_client(item, args_get(args, 'c'), 0)) == NULL)
 | 
			
		||||
		return (CMD_RETURN_ERROR);
 | 
			
		||||
 | 
			
		||||
	if (tflag != NULL && tflag[strcspn(tflag, ":.")] != '\0') {
 | 
			
		||||
	if (tflag != NULL && tflag[strcspn(tflag, ":.%")] != '\0') {
 | 
			
		||||
		type = CMD_FIND_PANE;
 | 
			
		||||
		flags = 0;
 | 
			
		||||
	} else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user