Commit fffdfbd2 authored by jp7g21's avatar jp7g21
Browse files

Disable CRNL for terminal

parent eb1c6306
......@@ -38,6 +38,7 @@ void configure_duck(void)
err(EXIT_FAILURE, "tcgetattr failed");
}
cfsetospeed(&tio, DUCK_BAUD);
tio.c_oflag &= ~ONLCR;
if (tcsetattr(duckfd, TCSANOW, &tio)) {
err(EXIT_FAILURE, "tcsetattr failed");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment