Unable to colorize escript text output

I’m using bunt (https://github.com/rrrene/bunt) to colorize some text output in my command-line app. This works perfectly from iex -S mix , but when I build an escript (using mix escript.build) and run the executable, the text displays but it is not colorized. Any pointers on what I’m doing wrong here?

Figured it out. (it was in the documentation for IO.ANSI.enabled?). In config.exs, I needed to set the ansi_enabled to true for the elixir application:


config :elixir, ansi_enabled: true