From 9581d8e988dc8a502033fc64328d638cfc0f78b3 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 25 Apr 2014 12:45:16 +0000 Subject: [PATCH] specifying ECHOCTL once is enough ok nicm@ --- usr.bin/tmux/tty.c | 4 ++-- 1 file 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 @@ -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) -- 2.20.1