Browse code

Fixed issue with misplaced cursor after output

shin- authored on 2013/03/26 23:10:31
Showing 1 changed files
... ...
@@ -15,7 +15,6 @@ void MakeRaw(int fd) {
15 15
   ioctl(fd, TCGETS, &t);
16 16
 
17 17
   t.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
18
-  t.c_oflag &= ~OPOST;
19 18
   t.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
20 19
   t.c_cflag &= ~(CSIZE | PARENB);
21 20
   t.c_cflag |= CS8;