mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Tweak the default choose modes formats:
- Only show pane title if it is not default and not empty. - Add a prettier time format and use that instead of long ctime(). - Remove clutter and change the order.
This commit is contained in:
		@@ -37,7 +37,7 @@ static void		 window_buffer_key(struct window_mode_entry *,
 | 
			
		||||
#define WINDOW_BUFFER_DEFAULT_COMMAND "paste-buffer -b '%%'"
 | 
			
		||||
 | 
			
		||||
#define WINDOW_BUFFER_DEFAULT_FORMAT \
 | 
			
		||||
	"#{buffer_size} bytes (#{t:buffer_created})"
 | 
			
		||||
	"#{t/p:buffer_created}: #{buffer_sample}"
 | 
			
		||||
 | 
			
		||||
static const struct menu_item window_buffer_menu_items[] = {
 | 
			
		||||
	{ "Paste", 'p', NULL },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user