mihnita / ansi-econsole

Eclipse plugin that understands ANSI escape sequences to color the Eclipse console output.

Home Page:http://www.mihai-nita.net/java/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console is not updated when a property change

ydaveluy opened this issue · comments

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

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.