mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Log terminal capabilities for each new terminal.
This commit is contained in:
		@@ -393,8 +393,8 @@ tty_term_find(char *name, int fd, char **cause)
 | 
			
		||||
			return (term);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	log_debug("new term: %s", name);
 | 
			
		||||
 | 
			
		||||
	term = xmalloc(sizeof *term);
 | 
			
		||||
	term->name = xstrdup(name);
 | 
			
		||||
	term->references = 1;
 | 
			
		||||
@@ -535,6 +535,10 @@ tty_term_find(char *name, int fd, char **cause)
 | 
			
		||||
		code->type = TTYCODE_STRING;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Log it. */
 | 
			
		||||
	for (i = 0; i < tty_term_ncodes(); i++)
 | 
			
		||||
		log_debug("%s%s", name, tty_term_describe(term, i));
 | 
			
		||||
 | 
			
		||||
	return (term);
 | 
			
		||||
 | 
			
		||||
error:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user