mihnita / ansi-econsole

Eclipse plugin that understands ANSI escape sequences to color the Eclipse console output.
http://www.mihai-nita.net/java/
Other
90 stars 25 forks source link

Parameter default values are not recognized #73

Closed Clownvis closed 2 years ago

Clownvis commented 2 years ago

Missing values between semicolons are ignored instead of being interpreted as 0, which is the default value according to the ECMA-48 standard.

The escape sequence "\33[38;2;;255;m" ought to be the same as "\33[38;2;0;255;0m" for instance.

mihnita commented 2 years ago

Interesting, I didn't know this one. I'll have to check the real behavior in a few (most popular?) terminals, and then decide what to do. Depending on that it will be a global fix, or an option.

Thank you! M.