scandum / tintin

TinTin++, aka tt++, is an extensible console MUD client.
https://tintin.mudhalla.net
GNU General Public License v3.0
201 stars 56 forks source link

Debug telnet lies with NAWS and split #140

Closed nyankers closed 1 year ago

nyankers commented 2 years ago

When #config {debug telnet} {on} is enabled, and NAWS messages are being sent, it echos to the user the window size ignoring things like #split.

The actual sizes sent subtract the area taken up by #split.

So for example, if the window size is 151x40 prior to running #split, then after typing #split, it'll still print SENT IAC SB NAWS 0 151 0 40 though the server will actually receive IAC SB NAWS 0 151 0 38 IAC SE.

The actual value sent seems reasonable to me, the only issue is that the debugging echo doesn't match it.

scandum commented 2 years ago

Thanks, added it to my list of things to fix.

scandum commented 1 year ago

Should be fixed in 2.02.30.