|
A bug in command line handler affects people who work on build scripts. When a error message is printed, the color is set to red to highlight the message, but the default colors are not restored before printing subsequent lines in an st script. I had to restore them with "echo -e '\e[0m'" escape sequence. E.g. ~~~~ $ ./pharo Pharo.image eval 'ProtoObjet methodDict size;' Syntax Error on line 1: 'Message expected' ========================================== 1: ProtoObjet methodDict size; _^_ $ ~~~~
The problem was traced to STCommandLineHandler>>#printCompilerWarning: method, which did not restore the color. Attached is a patch which restores normal colors after the message is printed.
|
|
|
Priority: 4 – Would be nice
|
|
Status: Working On
|
|
Assigned to: K K Subbu
|
|
Milestone: Later
|
Go to Case
|
|