mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:17:31 +00:00 
			
		
		
		
	Use a stack for last panes line windows, from Thomas Bertschinger in
GitHub issue 3588.
This commit is contained in:
		@@ -583,7 +583,7 @@ cmd_find_get_pane_with_window(struct cmd_find_state *fs, const char *pane)
 | 
			
		||||
 | 
			
		||||
	/* Try special characters. */
 | 
			
		||||
	if (strcmp(pane, "!") == 0) {
 | 
			
		||||
		fs->wp = fs->w->last;
 | 
			
		||||
		fs->wp = TAILQ_FIRST(&fs->w->last_panes);
 | 
			
		||||
		if (fs->wp == NULL)
 | 
			
		||||
			return (-1);
 | 
			
		||||
		return (0);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user