DtTerm: enable post-process output.

This commit is contained in:
Liang Chang
2021-12-03 22:07:10 +09:00
parent e2646219a4
commit b816b85575

View File

@@ -525,7 +525,7 @@ _DtTermPrimPtyInit
*/
tio.c_oflag &= ~(OCRNL | ONLRET | NLDLY | CRDLY | TABDLY |
BSDLY | VTDLY | FFDLY);
tio.c_oflag |= ONLCR;
tio.c_oflag |= ONLCR | OPOST;
/* baud rate is 9600 (nice default), turn off clocal and turn on
* hupcl so that the last close will SIGHUP processes running on