mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add a status-justify option to allow the window list in the status line to be
positioned at the left, centre, or right.
This commit is contained in:
		@@ -45,6 +45,9 @@ const struct cmd_entry cmd_set_option_entry = {
 | 
			
		||||
const char *set_option_status_keys_list[] = {
 | 
			
		||||
	"emacs", "vi", NULL
 | 
			
		||||
};
 | 
			
		||||
const char *set_option_status_justify_list[] = {
 | 
			
		||||
	"left", "centre", "right", NULL
 | 
			
		||||
};
 | 
			
		||||
const char *set_option_bell_action_list[] = {
 | 
			
		||||
	"none", "any", "current", NULL
 | 
			
		||||
};
 | 
			
		||||
@@ -69,6 +72,8 @@ const struct set_option_entry set_option_table[] = {
 | 
			
		||||
	{ "status-bg", SET_OPTION_COLOUR, 0, 0, NULL },
 | 
			
		||||
	{ "status-fg", SET_OPTION_COLOUR, 0, 0, NULL },
 | 
			
		||||
	{ "status-interval", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
 | 
			
		||||
	{ "status-justify", 
 | 
			
		||||
	  SET_OPTION_CHOICE, 0, 0, set_option_status_justify_list },
 | 
			
		||||
	{ "status-keys", SET_OPTION_CHOICE, 0, 0, set_option_status_keys_list },
 | 
			
		||||
	{ "status-left", SET_OPTION_STRING, 0, 0, NULL },
 | 
			
		||||
	{ "status-left-length", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user