Skip to content
Snippets Groups Projects
Commit 5e08e016 authored by deuce's avatar deuce
Browse files

Restore original termios settings on exit

parent dd901599
No related branches found
No related tags found
No related merge requests found
......@@ -1958,6 +1958,7 @@ tODResult ODComClose(tPortHandle hPort)
#ifdef INCLUDE_STDIO_COM
case kComMethodStdIO:
tcsetattr(fileno(stdin),TCSANOW,&tio_default);
break;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment