Skip to content

Conversation

eirikb
Copy link

@eirikb eirikb commented Jan 11, 2022

Add support for ANSI in GMCP messages.
Some servers - looking at you aardwolf - will include the ESC char directly in the JSON.
This makes the JSON invalid. This fix replaces the ESC sequence with escaped string char.
ANSI should come out correct.

  • emit errors.

Emit error upon error.
There was as parse error, and the program would simply halt.
With this fix an error will propagate to 'error' listeners.
Still seems to halt, but at least one can know why.
Add support for ANSI in GMCP messages.
Some servers - looking at you aardwolf - will include the ESC char directly in the JSON.
This makes the JSON invalid. This fix replaces the ESC sequence with escaped string char.
ANSI should come out correct.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant