corrected typo
This commit is contained in:
parent
1cd66f2952
commit
e41fd6d8a9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue