mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Taking account of the "s, 22 not 24 is the maximum length of #T in status-right
to prevent the date being cut off.
This commit is contained in:
		
							
								
								
									
										2
									
								
								tmux.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tmux.c
									
									
									
									
									
								
							@@ -362,7 +362,7 @@ main(int argc, char **argv)
 | 
			
		||||
	options_set_number(&global_s_options, "status-right-length", 40);
 | 
			
		||||
	options_set_string(&global_s_options, "status-left", "[#S]");
 | 
			
		||||
	options_set_string(
 | 
			
		||||
	    &global_s_options, "status-right", "\"#24T\" %%H:%%M %%d-%%b-%%y");
 | 
			
		||||
	    &global_s_options, "status-right", "\"#22T\" %%H:%%M %%d-%%b-%%y");
 | 
			
		||||
	if (flags & IDENTIFY_UTF8)
 | 
			
		||||
		options_set_number(&global_s_options, "status-utf8", 1);
 | 
			
		||||
	else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user