diff --git a/src/main.c b/src/main.c index ebbc22b2..c8b8d8bd 100644 --- a/src/main.c +++ b/src/main.c @@ -1739,9 +1739,9 @@ on_crash (int signum) tcgetattr (fd, &term_attributes); - term_attributes.c_iflag |= IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON; + term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON; term_attributes.c_oflag |= OPOST; - term_attributes.c_lflag |= ECHO | ECHONL | ICANON | ISIG | IEXTEN; + term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN; tcsetattr (fd, TCSAFLUSH, &term_attributes);