diff options
author | Thomas Adam <thomas@xteddy.org> | 2014-04-30 00:05:58 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2014-04-30 00:05:58 +0100 |
commit | ea5a223a2e8901fa9afa991d147751d8a6789443 (patch) | |
tree | 57794c023312f59bf438e01f45a31089293a3aff /tty.c | |
parent | afb4dbd4655a1f0c988d8c65723172144ab79cce (diff) | |
parent | 5b2c8156d528f284c63bc0a698805e4461431257 (diff) | |
download | rtmux-ea5a223a2e8901fa9afa991d147751d8a6789443.tar.gz rtmux-ea5a223a2e8901fa9afa991d147751d8a6789443.tar.bz2 rtmux-ea5a223a2e8901fa9afa991d147751d8a6789443.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |