mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Ignore running command when checking for no-hooks flag if it is blocked.
GitHub issue 2483.
This commit is contained in:
		@@ -768,6 +768,10 @@ cmdq_running(struct client *c)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	struct cmdq_list	*queue = cmdq_get(c);
 | 
						struct cmdq_list	*queue = cmdq_get(c);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (queue->item == NULL)
 | 
				
			||||||
 | 
					        return (NULL);
 | 
				
			||||||
 | 
					    if (queue->item->flags & CMDQ_WAITING)
 | 
				
			||||||
 | 
					        return (NULL);
 | 
				
			||||||
    return (queue->item);
 | 
					    return (queue->item);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								tmux.1
									
									
									
									
									
								
							@@ -2112,7 +2112,8 @@ and
 | 
				
			|||||||
.Ic display-panes-active-colour
 | 
					.Ic display-panes-active-colour
 | 
				
			||||||
session options.
 | 
					session options.
 | 
				
			||||||
The indicator is closed when a key is pressed (unless
 | 
					The indicator is closed when a key is pressed (unless
 | 
				
			||||||
.Fl N is given) or
 | 
					.Fl N
 | 
				
			||||||
 | 
					is given) or
 | 
				
			||||||
.Ar duration
 | 
					.Ar duration
 | 
				
			||||||
milliseconds have passed.
 | 
					milliseconds have passed.
 | 
				
			||||||
If
 | 
					If
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user