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

Turning on COLOR PATCH and RECEIVED OUTPUT will cause the entire game to lose any color #210

Open
dzpao opened this issue Jan 11, 2024 · 2 comments

Comments

@dzpao
Copy link
Contributor

dzpao commented Jan 11, 2024

This problem exists in both master and beta.

This can be easily observed with these two commands.

./tt++ -G -e '#session nwa ateraan.com 4002'
image
./tt++ -G -e '#config {color patch} on; #event {RECEIVED OUTPUT} {#0}; #session nwa ateraan.com 4002'
image
@dzpao
Copy link
Contributor Author

dzpao commented Jan 11, 2024

The problem should be caused by these two codes:

linebuf = line;

strip_vt102_codes(linebuf, line);

@scandum
Copy link
Owner

scandum commented Jan 11, 2024

Thanks, should be fixed in the beta.

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

No branches or pull requests

2 participants