mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
Conflicts: server-client.c tmux.1
This commit is contained in:
		
							
								
								
									
										4
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								format.c
									
									
									
									
									
								
							@@ -1159,11 +1159,11 @@ format_defaults_client(struct format_tree *ft, struct client *c)
 | 
			
		||||
	if (ft->s == NULL)
 | 
			
		||||
		ft->s = c->session;
 | 
			
		||||
 | 
			
		||||
	format_add(ft, "client_name", "%s", c->name);
 | 
			
		||||
	format_add(ft, "client_pid", "%ld", (long) c->pid);
 | 
			
		||||
	format_add(ft, "client_height", "%u", tty->sy);
 | 
			
		||||
	format_add(ft, "client_width", "%u", tty->sx);
 | 
			
		||||
	if (tty->path != NULL)
 | 
			
		||||
		format_add(ft, "client_tty", "%s", tty->path);
 | 
			
		||||
	format_add(ft, "client_tty", "%s", c->ttyname);
 | 
			
		||||
	format_add(ft, "client_control_mode", "%d",
 | 
			
		||||
		!!(c->flags & CLIENT_CONTROL));
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user