diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-04-25 12:45:17 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-04-25 12:45:17 +0000 |
commit | bb8134ae07c52a25fb88f2bcb6898280924352fa (patch) | |
tree | 34919fb58b95a0bee8673e6541b6895ab4afb43c /usr.bin | |
parent | 0703fbfb5930ba6f7b15d2d34846b9d15d503ef0 (diff) |
specifying ECHOCTL once is enough
ok nicm@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/tty.c | 4 |
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) |