Use RAW, not CBREAK
This commit is contained in:
parent
a8d9c79cf8
commit
7837dcf615
@ -96,7 +96,7 @@ set_tty()
|
||||
ioctl(std_in, TIOCGETC, &tco);
|
||||
sgn = sgo;
|
||||
tc = tco;
|
||||
sgn.sg_flags |= CBREAK;
|
||||
sgn.sg_flags |= RAW;
|
||||
sgn.sg_flags &= ~ECHO;
|
||||
ospeed = sgo.sg_ospeed;
|
||||
tc.t_intrc = 17; /* ^Q */
|
||||
|
Loading…
x
Reference in New Issue
Block a user