Skip to content

add option to disable color escapes on stdout #651

Closed
@nerdralph

Description

@nerdralph

Bug Report

Current behavior

arduino-cli board details

color escape characters show up on stdout:
Option: MCU mcu
←[32mATtiny13←[0m ←[32m?←[0m ←[32mmcu=t13←[0m

Expected behavior

no escape codes

Environment

  • CLI version (output of arduino-cli version): 0.9.0 Commit: e4d02b4
  • OS and platform: Win7E/mingw32

Additional context

colored output on stdout appears to be hard-coded.

// if we print on stdout, do it in full colors

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions