mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not complain when directions fail.
This commit is contained in:
		@@ -100,10 +100,8 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
		wp = window_pane_find_up(wp);
 | 
			
		||||
	else if (args_has(self->args, 'D'))
 | 
			
		||||
		wp = window_pane_find_down(wp);
 | 
			
		||||
	if (wp == NULL) {
 | 
			
		||||
		cmdq_error(cmdq, "pane not found");
 | 
			
		||||
		return (CMD_RETURN_ERROR);
 | 
			
		||||
	}
 | 
			
		||||
	if (wp == NULL)
 | 
			
		||||
		return (CMD_RETURN_NORMAL);
 | 
			
		||||
 | 
			
		||||
	if (args_has(self->args, 'e')) {
 | 
			
		||||
		wp->flags &= ~PANE_INPUTOFF;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user