mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add a default-terminal option to set the starting value of $TERM in new
windows. This is "screen" by default and must be either that or something closely related. This does makes it easier to customise it if necessary.
This commit is contained in:
		
							
								
								
									
										1
									
								
								tmux.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								tmux.c
									
									
									
									
									
								
							@@ -270,6 +270,7 @@ main(int argc, char **argv)
 | 
			
		||||
	options_set_number(&global_s_options, "bell-action", BELL_ANY);
 | 
			
		||||
	options_set_number(&global_s_options, "buffer-limit", 9);
 | 
			
		||||
	options_set_string(&global_s_options, "default-command", "%s", "");
 | 
			
		||||
	options_set_string(&global_s_options, "default-terminal", "screen");
 | 
			
		||||
	options_set_number(&global_s_options, "display-time", 750);
 | 
			
		||||
	options_set_number(&global_s_options, "history-limit", 2000);
 | 
			
		||||
	options_set_number(&global_s_options, "lock-after-time", 0);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user