Fixed issue with misplaced cursor after output

This commit is contained in:
shin- 2013-03-26 07:10:31 -07:00
parent 7e540a083f
commit 3cce89d8ed

View file

@ -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;