mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add a cursor-colour option, from Alexis Hildebrandt in GitHub issue
2959.
This commit is contained in:
		@@ -188,6 +188,7 @@ const struct options_name_map options_other_names[] = {
 | 
			
		||||
	{ "display-panes-color", "display-panes-colour" },
 | 
			
		||||
	{ "display-panes-active-color", "display-panes-active-colour" },
 | 
			
		||||
	{ "clock-mode-color", "clock-mode-colour" },
 | 
			
		||||
	{ "cursor-color", "cursor-colour" },
 | 
			
		||||
	{ "pane-colors", "pane-colours" },
 | 
			
		||||
	{ NULL, NULL }
 | 
			
		||||
};
 | 
			
		||||
@@ -235,6 +236,13 @@ const struct options_table_entry options_table[] = {
 | 
			
		||||
		  "If empty, no command is run."
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "cursor-colour",
 | 
			
		||||
	  .type = OPTIONS_TABLE_COLOUR,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
 | 
			
		||||
	  .default_num = -1,
 | 
			
		||||
	  .text = "Colour of the cursor."
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "default-terminal",
 | 
			
		||||
	  .type = OPTIONS_TABLE_STRING,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_SERVER,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user