aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2014-02-23 00:53:06 +0000
committernicm <nicm>2014-02-23 00:53:06 +0000
commitf1828921dfed4b7f2ba38b8c4a370b42965c404c (patch)
tree0c9c620bbba87432fae1863661d929acde13d3ec /tty.c
parent315d45a0eb596048f2513dab98e4bb47ec1852a4 (diff)
downloadrtmux-f1828921dfed4b7f2ba38b8c4a370b42965c404c.tar.gz
rtmux-f1828921dfed4b7f2ba38b8c4a370b42965c404c.tar.bz2
rtmux-f1828921dfed4b7f2ba38b8c4a370b42965c404c.zip
Change terminal-overrides to a server option (now that we have them), it
doesn't make much sense as a session option.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 20b7070a..b545dc33 100644
--- a/tty.c
+++ b/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);