mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Change terminal-overrides to a server option (now that we have them), it
doesn't make much sense as a session option.
This commit is contained in:
parent
315d45a0eb
commit
f1828921df
8 changed files with 58 additions and 59 deletions
4
tty.c
4
tty.c
|
|
@ -128,7 +128,7 @@ tty_set_size(struct tty *tty, u_int sx, u_int sy) {
|
|||
}
|
||||
|
||||
int
|
||||
tty_open(struct tty *tty, const char *overrides, char **cause)
|
||||
tty_open(struct tty *tty, char **cause)
|
||||
{
|
||||
char out[64];
|
||||
int fd;
|
||||
|
|
@ -141,7 +141,7 @@ tty_open(struct tty *tty, const char *overrides, char **cause)
|
|||
tty->log_fd = fd;
|
||||
}
|
||||
|
||||
tty->term = tty_term_find(tty->termname, tty->fd, overrides, cause);
|
||||
tty->term = tty_term_find(tty->termname, tty->fd, cause);
|
||||
if (tty->term == NULL) {
|
||||
tty_close(tty);
|
||||
return (-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue