On BSD, switching off ICANON does not disable LNEXT (^V) processing.
We explicitly need to unset IEXTEN. ok matthieu@
This commit is contained in:
parent
d6d2052305
commit
bb06250523
@ -256,7 +256,7 @@ setRawTermios(void)
|
||||
rc = tcgetattr(0, &tio);
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
tio.c_lflag &= (unsigned) ~(ECHO | ICANON | ISIG);
|
||||
tio.c_lflag &= (unsigned) ~(ECHO | ICANON | IEXTEN | ISIG);
|
||||
tio.c_iflag &= (unsigned) ~(ICRNL | IXOFF | IXON | ISTRIP);
|
||||
#ifdef ONLCR
|
||||
tio.c_oflag &= (unsigned) ~ONLCR;
|
||||
|
Loading…
Reference in New Issue
Block a user