linux-china / jetbrains-just-plugin

JetBrains Just Command Runner Plugin
https://plugins.jetbrains.com/plugin/18658-just
Apache License 2.0
35 stars 6 forks source link

Escape sequences in PyCharm's console on Windows #28

Open seguri opened 1 month ago

seguri commented 1 month ago

Hi,

When I execute one of the commands in my Justfile using your plugin, the escape sequences are displayed literally:

just lint
←[1mset_env && black --line-length 120 .←[0m
←[1;31merror←[0m: ←[1mRecipe `lint` failed on line 7 with exit code 127←[0m

Is there a way to customize how your plugin invokes just (so that I can try adding something like --no-color) or do you know how to fix this in PyCharm? I've already set up UTF-8 in Settings > Editor > General > Console > Default encoding.

Thanks