mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		@@ -48,7 +48,6 @@ cmd_paste_buffer_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
	struct session		*s;
 | 
			
		||||
	struct paste_buffer	*pb;
 | 
			
		||||
	const char		*sepstr, *bufname;
 | 
			
		||||
	int			 pflag;
 | 
			
		||||
 | 
			
		||||
	if (cmd_find_pane(cmdq, args_get(args, 't'), &s, &wp) == NULL)
 | 
			
		||||
		return (CMD_RETURN_ERROR);
 | 
			
		||||
@@ -75,8 +74,7 @@ cmd_paste_buffer_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
			else
 | 
			
		||||
				sepstr = "\r";
 | 
			
		||||
		}
 | 
			
		||||
		pflag = (wp->screen->mode & MODE_BRACKETPASTE);
 | 
			
		||||
		paste_send_pane(pb, wp, sepstr, args_has(args, 'p') && pflag);
 | 
			
		||||
		paste_send_pane(pb, wp, sepstr, args_has(args, 'p'));
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Delete the buffer if -d. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user