Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing ESC in telnet window freezes telnet window. #1328

Closed
Dunbaratu opened this issue Dec 27, 2015 · 0 comments
Closed

Pressing ESC in telnet window freezes telnet window. #1328

Dunbaratu opened this issue Dec 27, 2015 · 0 comments
Assignees
Labels
bug Weird outcome is probably not what the mod programmer expected.

Comments

@Dunbaratu
Copy link
Member

If you press the ESC key in the telnet window by itself, then the telnet window becomes frozen after a few seconds, refusing to work no matter what you type (the in-game terminal is still fine) and eventually it bombs out and disconnects from the server after typing enough stuff blindly.

This test was performed on an XTERM-reporting terminal in Putty.

There seems to be a bug with how the VT100 CSI sequences are being read, (e.g. things like esc [ A for up-arrow). Once an esc happens, if the following characters aren't a control sequence and instead the input snippet just ends with the esc char, the system seems incapable of dealing with that properly,

@Dunbaratu Dunbaratu self-assigned this Dec 27, 2015
@Dunbaratu Dunbaratu added the bug Weird outcome is probably not what the mod programmer expected. label Dec 29, 2015
erendrake added a commit that referenced this issue Dec 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Weird outcome is probably not what the mod programmer expected.
Projects
None yet
Development

No branches or pull requests

1 participant