mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
233bae6992
@ -396,8 +396,8 @@ tty_term_find(char *name, int fd, char **cause)
|
|||||||
return (term);
|
return (term);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log_debug("new term: %s", name);
|
log_debug("new term: %s", name);
|
||||||
|
|
||||||
term = xmalloc(sizeof *term);
|
term = xmalloc(sizeof *term);
|
||||||
term->name = xstrdup(name);
|
term->name = xstrdup(name);
|
||||||
term->references = 1;
|
term->references = 1;
|
||||||
@ -541,6 +541,10 @@ tty_term_find(char *name, int fd, char **cause)
|
|||||||
code->type = TTYCODE_STRING;
|
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);
|
return (term);
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
Reference in New Issue
Block a user