mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-08 01:04:06 +01:00
More ifdef goo is needed due to NOKERNINFO.
This commit is contained in:
parent
bc47596313
commit
202c04414c
2
client.c
2
client.c
@ -246,7 +246,9 @@ client_main(int argc, char **argv, int flags)
|
|||||||
cfmakeraw(&tio);
|
cfmakeraw(&tio);
|
||||||
tio.c_iflag = ICRNL|IXANY;
|
tio.c_iflag = ICRNL|IXANY;
|
||||||
tio.c_oflag = OPOST|ONLCR;
|
tio.c_oflag = OPOST|ONLCR;
|
||||||
|
#ifdef NOKERNINFO
|
||||||
tio.c_lflag = NOKERNINFO;
|
tio.c_lflag = NOKERNINFO;
|
||||||
|
#endif
|
||||||
tio.c_cflag = CREAD|CS8|HUPCL;
|
tio.c_cflag = CREAD|CS8|HUPCL;
|
||||||
tio.c_cc[VMIN] = 1;
|
tio.c_cc[VMIN] = 1;
|
||||||
tio.c_cc[VTIME] = 0;
|
tio.c_cc[VTIME] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user