[main] Use updated terminal attrs on crash

In commit ea394383c5 I changed
the terminal settings used by ply-terminal.  This commit puts
those same settings into effect in the crash path.
This commit is contained in:
Ray Strode 2010-04-09 16:07:11 -04:00
parent fe9d56bee8
commit 1285196e59

View file

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