mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Sync OpenBSD patchset 1166:
xterm won't reach version 500 for a while so set that as the upper limit.
This commit is contained in:
		@@ -734,7 +734,8 @@ tty_keys_device(struct tty *tty, const char *buf, size_t len, size_t *size)
 | 
				
			|||||||
		a = b = 0;
 | 
							a = b = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	log_debug("received xterm version %u", b);
 | 
						log_debug("received xterm version %u", b);
 | 
				
			||||||
	tty_set_version(tty, b);
 | 
						if (b < 500)
 | 
				
			||||||
 | 
							tty_set_version(tty, b);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return (0);
 | 
						return (0);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user