mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 10:25:37 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
ea5a223a2e
2 changed files with 2 additions and 1 deletions
1
client.c
1
client.c
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <event.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
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…
Add table
Add a link
Reference in a new issue