We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e578c commit f0890e2Copy full SHA for f0890e2
telnet_phases.cpp
@@ -390,10 +390,14 @@ void CMUSHclientDoc::Phase_DO (const unsigned char c)
390
391
case TELOPT_NAWS:
392
// option off - must be server initiated
393
- if (!m_bNAWS)
+ if (m_bNAWS)
394
+ {
395
Send_IAC_WILL (c);
- m_bNAWS_wanted = true;
396
- SendWindowSizes (m_nWrapColumn);
+ m_bNAWS_wanted = true;
397
+ SendWindowSizes (m_nWrapColumn);
398
+ }
399
+ else
400
+ Send_IAC_WONT (c);
401
break;
402
403
case TELOPT_MXP:
0 commit comments