Open MrStevns opened 3 months ago
Thanks for logging the issue.
However since it's a recent addition to Odin maybe you could reach out to ginger Bill and tell him that escape codes should only be used when the output is being sent to a terminal?
Other programs are able to detect this and not send escape codes. E.g. Jai does this.
Good point, I've created an issue there too. For reference: https://github.com/odin-lang/Odin/issues/4100
Unless this program intends to parse ANSI SGR codes, both color and cursor motion, then this is strictly an issue with Odin's ability to detect the presence of a TTY.
Describe the bug I have been using focus to work with odin projects which so far is a pleasant experience. Recently however, their test module got a major makeover which focus does not seem to be able to handle.
From the conversation with obiwanus on Discord, the issue stems from focus not expecting or being able to handle the escape codes being produced.
To Reproduce
> odin test /path/to/project/
Expected behavior
Actual behaviour
Screenshots Expected:
Actual: