mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Add a terminal-overrides session option allowing individual terminfo(5) entries
to be overridden. The 88col/256col checks are now moved into the default setting and out of the code. Also remove a couple of old workarounds for xterm and rxvt which are no longer necessary (tmux can emulate them if missing).
This commit is contained in:
		
							
								
								
									
										2
									
								
								tmux.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tmux.c
									
									
									
									
									
								
							@@ -367,6 +367,8 @@ main(int argc, char **argv)
 | 
			
		||||
		options_set_number(&global_s_options, "status-utf8", 1);
 | 
			
		||||
	else
 | 
			
		||||
		options_set_number(&global_s_options, "status-utf8", 0);
 | 
			
		||||
	options_set_string(&global_s_options,
 | 
			
		||||
	    "terminal-overrides", "*88col*:colors=88,*256col*:colors=256");
 | 
			
		||||
	options_set_number(&global_s_options, "visual-activity", 0);
 | 
			
		||||
	options_set_number(&global_s_options, "visual-bell", 0);
 | 
			
		||||
	options_set_number(&global_s_options, "visual-content", 0);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user