summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 2d747564c33..adcfe46391e 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.185 2015/07/13 15:51:31 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.186 2015/09/02 17:37:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -233,7 +233,6 @@ tty_start_tty(struct tty *tty)
tty->flags |= TTY_FOCUS;
tty_puts(tty, "\033[?1004h");
}
- tty_puts(tty, "\033[c");
}
tty->cx = UINT_MAX;
@@ -254,14 +253,6 @@ tty_start_tty(struct tty *tty)
}
void
-tty_set_class(struct tty *tty, u_int class)
-{
- if (tty->class != 0)
- return;
- tty->class = class;
-}
-
-void
tty_stop_tty(struct tty *tty)
{
struct winsize ws;