mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
specifying ECHOCTL once is enough
ok nicm@
This commit is contained in:
parent
bec6c807cd
commit
40cb4cb086
2
tty.c
2
tty.c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user