summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-04-25 12:45:16 +0000
committerjsg <jsg@openbsd.org>2014-04-25 12:45:16 +0000
commit9581d8e988dc8a502033fc64328d638cfc0f78b3 (patch)
tree60f89b37b1ab66d6f2b10f1da6ac41e63c1d9637 /usr.bin/tmux/tty.c
parentregen (diff)
downloadwireguard-openbsd-9581d8e988dc8a502033fc64328d638cfc0f78b3.tar.xz
wireguard-openbsd-9581d8e988dc8a502033fc64328d638cfc0f78b3.zip
specifying ECHOCTL once is enough
ok nicm@
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 692f04d5353..df5dbea4ca4 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.168 2014/04/17 14:45:49 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.169 2014/04/25 12:45:16 jsg Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -193,7 +193,7 @@ tty_init_termios(int fd, struct termios *orig_tio, struct bufferevent *bufev)
tio.c_iflag |= IGNBRK;
tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET);
tio.c_lflag &= ~(IEXTEN|ICANON|ECHO|ECHOE|ECHONL|ECHOCTL|
- ECHOPRT|ECHOKE|ECHOCTL|ISIG);
+ ECHOPRT|ECHOKE|ISIG);
tio.c_cc[VMIN] = 1;
tio.c_cc[VTIME] = 0;
if (tcsetattr(fd, TCSANOW, &tio) == 0)