mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Use -p for default paste-buffer command in buffer mode, it will only do
anything if the application asked for it. From Gregory Anders.
This commit is contained in:
		@@ -36,7 +36,7 @@ static void		 window_buffer_key(struct window_mode_entry *,
 | 
			
		||||
			     struct client *, struct session *,
 | 
			
		||||
			     struct winlink *, key_code, struct mouse_event *);
 | 
			
		||||
 | 
			
		||||
#define WINDOW_BUFFER_DEFAULT_COMMAND "paste-buffer -b '%%'"
 | 
			
		||||
#define WINDOW_BUFFER_DEFAULT_COMMAND "paste-buffer -p -b '%%'"
 | 
			
		||||
 | 
			
		||||
#define WINDOW_BUFFER_DEFAULT_FORMAT \
 | 
			
		||||
	"#{t/p:buffer_created}: #{buffer_sample}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user