mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Final parts of command hooks, add before- and after- hooks to each command.
This commit is contained in:
		@@ -157,6 +157,7 @@ cmd_if_shell_callback(struct job *job)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	cmdq1 = cmdq_new(cmdq->client);
 | 
			
		||||
	cmdq1->flags |= cmdq->flags & CMD_Q_NOHOOKS;
 | 
			
		||||
	cmdq1->emptyfn = cmd_if_shell_done;
 | 
			
		||||
	cmdq1->data = cdata;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user