mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add window_activity format, from Thomas Adam based on a diff originally
from propos6 at gmail dot com.
This commit is contained in:
		
							
								
								
									
										3
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								window.c
									
									
									
									
									
								
							@@ -295,6 +295,9 @@ window_create1(u_int sx, u_int sy)
 | 
			
		||||
	w->sx = sx;
 | 
			
		||||
	w->sy = sy;
 | 
			
		||||
 | 
			
		||||
	if (gettimeofday(&w->activity_time, NULL) != 0)
 | 
			
		||||
		fatal("gettimeofday failed");
 | 
			
		||||
 | 
			
		||||
	options_init(&w->options, &global_w_options);
 | 
			
		||||
	if (options_get_number(&w->options, "automatic-rename"))
 | 
			
		||||
		queue_window_name(w);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user