mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Always set xterm flag.
This commit is contained in:
		@@ -71,9 +71,7 @@ cmd_send_keys_inject_key(struct cmdq_item *item, struct cmdq_item *after,
 | 
			
		||||
 | 
			
		||||
	wme = TAILQ_FIRST(&wp->modes);
 | 
			
		||||
	if (wme == NULL || wme->mode->key_table == NULL) {
 | 
			
		||||
		if (options_get_number(wp->window->options, "xterm-keys"))
 | 
			
		||||
			key |= KEYC_XTERM;
 | 
			
		||||
		if (window_pane_key(wp, tc, s, wl, key, NULL) != 0)
 | 
			
		||||
		if (window_pane_key(wp, tc, s, wl, key|KEYC_XTERM, NULL) != 0)
 | 
			
		||||
			return (NULL);
 | 
			
		||||
		return (item);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user