aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2015-09-02 17:37:54 +0000
committernicm <nicm>2015-09-02 17:37:54 +0000
commit8121127606e8c354daa4802177763d2b1f8df81d (patch)
tree65a9db9db379b724a5f08b30fc9b74906febeca4 /tty.c
parenta45164f2e023f436d0c9b0f50580a71f2b4b8f87 (diff)
downloadrtmux-8121127606e8c354daa4802177763d2b1f8df81d.tar.gz
rtmux-8121127606e8c354daa4802177763d2b1f8df81d.tar.bz2
rtmux-8121127606e8c354daa4802177763d2b1f8df81d.zip
We no longer need the terminal service class, so don't bother asking for it.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tty.c b/tty.c
index 374fb8c6..105a24ed 100644
--- a/tty.c
+++ b/tty.c
@@ -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;