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

Console is not updated when a property change #77

Open
ydaveluy opened this issue Jun 8, 2022 · 1 comment
Open

Console is not updated when a property change #77

ydaveluy opened this issue Jun 8, 2022 · 1 comment
Assignees

Comments

@ydaveluy
Copy link

ydaveluy commented Jun 8, 2022

Dear Mihai,

I noticed that when an ansi-econsole property is changed (enable/disable ansi console, Show the escapes sequences, ...) the console is not redraw.

Maybe you could be interested by this commit: https://github.com/ydaveluy/ansi-econsole/commit/4a0d24cc0a202e1758d8183f26d4e3ccedbbfe66

Regards,

Yannick

@mihnita
Copy link
Owner

mihnita commented Jun 12, 2022

Thanks.

I'll need to test it.
Although I doubt it will work properly.

The console widget does not contain all the output of app.
There is a buffer see Preferences -- Run/Debug -- Console, "Limit console output" and "Console buffer size" (default "yes" and "80000")

This means that if I set the color to red, and output 100000 characters after it the widget drops the escape for red, only contains the last 80000 characters. So the refresh will not be accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants