corrected typo
This commit is contained in:
parent
20649c2cad
commit
e34737ea2c
@ -88,7 +88,7 @@ void chan_out(v, c) long v; register chan *c;
|
|||||||
tty.c_lflag &= ~(ECHO|ICANON);
|
tty.c_lflag &= ~(ECHO|ICANON);
|
||||||
ioctl(fileno(fp), TCSETA, &tty);
|
ioctl(fileno(fp), TCSETA, &tty);
|
||||||
#else
|
#else
|
||||||
gtty(fileno(fp), ,&tty);
|
gtty(fileno(fp),&tty);
|
||||||
tty.sg_flags|= CBREAK;
|
tty.sg_flags|= CBREAK;
|
||||||
tty.sg_flags&= ~(ECHO|CRMOD);
|
tty.sg_flags&= ~(ECHO|CRMOD);
|
||||||
stty(fileno(fp), &tty);
|
stty(fileno(fp), &tty);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user