mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Instead of combined flags for -c, -s, -t, split into different sets
using an enum and simplify the parsing code.
This commit is contained in:
		@@ -36,7 +36,9 @@ const struct cmd_entry cmd_send_keys_entry = {
 | 
			
		||||
	.args = { "lRMt:", 0, -1 },
 | 
			
		||||
	.usage = "[-lRM] " CMD_TARGET_PANE_USAGE " key ...",
 | 
			
		||||
 | 
			
		||||
	.flags = CMD_PANE_T,
 | 
			
		||||
	.tflag = CMD_PANE,
 | 
			
		||||
 | 
			
		||||
	.flags = 0,
 | 
			
		||||
	.exec = cmd_send_keys_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -47,7 +49,9 @@ const struct cmd_entry cmd_send_prefix_entry = {
 | 
			
		||||
	.args = { "2t:", 0, 0 },
 | 
			
		||||
	.usage = "[-2] " CMD_TARGET_PANE_USAGE,
 | 
			
		||||
 | 
			
		||||
	.flags = CMD_PANE_T,
 | 
			
		||||
	.tflag = CMD_PANE,
 | 
			
		||||
 | 
			
		||||
	.flags = 0,
 | 
			
		||||
	.exec = cmd_send_keys_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user