Stream: beginners

Topic: ✔ suppress ansi color escapes in roc check/dev etc?


view this post on Zulip Mo (Dec 11 2024 at 21:09):

Hi there, is there a way to suppress ansi color escape codes in the output of roc check etc, similar to the --no-color option to roc repl? I'm just diving in to roc and my workflow is emacs-based, where the compilation buffer does not support these codes.

view this post on Zulip Luke Boswell (Dec 11 2024 at 21:12):

I vaguely recall us discussing it before. I don't think we have the option in the cli.

view this post on Zulip Luke Boswell (Dec 11 2024 at 21:13):

I think it's a good idea though, at least I can't think of why we wouldn't want an option like that

view this post on Zulip Mo (Dec 11 2024 at 21:23):

I found a workaround for emacs users from this kind person: http://endlessparentheses.com/ansi-colors-in-the-compilation-buffer-output.html

view this post on Zulip Notification Bot (Dec 11 2024 at 22:53):

Mo has marked this topic as resolved.

view this post on Zulip Luke Boswell (Dec 12 2024 at 00:38):

Created an issue to track this idea

https://github.com/roc-lang/roc/issues/7339


Last updated: Jul 06 2025 at 12:14 UTC