Fixed issue with misplaced cursor after output
This commit is contained in:
parent
7e540a083f
commit
3cce89d8ed
1 changed files with 0 additions and 1 deletions
|
@ -15,7 +15,6 @@ void MakeRaw(int fd) {
|
|||
ioctl(fd, TCGETS, &t);
|
||||
|
||||
t.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
|
||||
t.c_oflag &= ~OPOST;
|
||||
t.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
|
||||
t.c_cflag &= ~(CSIZE | PARENB);
|
||||
t.c_cflag |= CS8;
|
||||
|
|
Loading…
Reference in a new issue