Disable _convertLFs, was causing CR ('\r') sent by remote to beocme a newline ('\n')

This commit is contained in:
Brendan Shanks 2018-06-25 23:30:33 -07:00
parent 1c41674e23
commit 76af9acc2a
1 changed files with 1 additions and 1 deletions

View File

@ -1065,7 +1065,7 @@ void init_context(lshcontext *context, short port)
memcpy(&context->_mactermios, &defaulttermios, sizeof(struct termios));
context->_gConsoleInEOF = 0;
/*context->_convertLFs = 0;*/
context->_convertLFs = 1;
context->_convertLFs = 0;
context->_lastCR = 0;
context->_insock = NULL;
context->_gConsoleInBufLen = 0;