mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for
scrolling the region in panes (if the large region check isn't hit). With help from Ailin Nemui.
This commit is contained in:
		@@ -728,8 +728,7 @@ tty_keys_device(struct tty *tty, const char *buf, size_t len, size_t *size)
 | 
			
		||||
		a = b = 0;
 | 
			
		||||
 | 
			
		||||
	log_debug("received xterm version %u", b);
 | 
			
		||||
	if (tty->xterm_version == 0)
 | 
			
		||||
		tty->xterm_version = b;
 | 
			
		||||
	tty_set_version(tty, b);
 | 
			
		||||
 | 
			
		||||
	return (0);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user