mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add an option menu-selected-style to configure the currently selected
menu item, from Alexis Hildebrandt.
This commit is contained in:
		@@ -336,6 +336,15 @@ const struct options_table_entry options_table[] = {
 | 
			
		||||
	  .text = "Default style of menu."
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "menu-selected-style",
 | 
			
		||||
	  .type = OPTIONS_TABLE_STRING,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_WINDOW,
 | 
			
		||||
	  .flags = OPTIONS_TABLE_IS_STYLE,
 | 
			
		||||
	  .default_str = "bg=yellow,fg=black",
 | 
			
		||||
	  .separator = ",",
 | 
			
		||||
	  .text = "Default style of selected menu item."
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "menu-border-style",
 | 
			
		||||
	  .type = OPTIONS_TABLE_STRING,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_WINDOW,
 | 
			
		||||
@@ -962,8 +971,8 @@ const struct options_table_entry options_table[] = {
 | 
			
		||||
	{ .name = "mode-style",
 | 
			
		||||
	  .type = OPTIONS_TABLE_STRING,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_WINDOW,
 | 
			
		||||
	  .default_str = "bg=yellow,fg=black",
 | 
			
		||||
	  .flags = OPTIONS_TABLE_IS_STYLE,
 | 
			
		||||
	  .default_str = "bg=yellow,fg=black",
 | 
			
		||||
	  .separator = ",",
 | 
			
		||||
	  .text = "Style of indicators and highlighting in modes."
 | 
			
		||||
	},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user