mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
This commit is contained in:
		@@ -36,7 +36,7 @@ const struct cmd_entry cmd_set_buffer_entry = {
 | 
			
		||||
	.args = { "ab:n:", 0, 1 },
 | 
			
		||||
	.usage = "[-a] " CMD_BUFFER_USAGE " [-n new-buffer-name] data",
 | 
			
		||||
 | 
			
		||||
	.flags = 0,
 | 
			
		||||
	.flags = CMD_AFTERHOOK,
 | 
			
		||||
	.exec = cmd_set_buffer_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -47,7 +47,7 @@ const struct cmd_entry cmd_delete_buffer_entry = {
 | 
			
		||||
	.args = { "b:", 0, 0 },
 | 
			
		||||
	.usage = CMD_BUFFER_USAGE,
 | 
			
		||||
 | 
			
		||||
	.flags = 0,
 | 
			
		||||
	.flags = CMD_AFTERHOOK,
 | 
			
		||||
	.exec = cmd_set_buffer_exec
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user