Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add ANSI code support in serial monitor #2169

Closed as not planned
Closed as not planned
Labels
@tchilton

Description

Describe the request

The IDE, like many other development environments and applications, uses colour, reverse video text, flashing text and screen control (position, clear screen, etc) all of which, when used appropriately aids readability.

However, this capability is not extended to the serial monitor, meaning that sketches can't use these commonly available features.

The request is to add support for ANSI codes, thus allowing the screen to be manipulated more effectively with colour, cursor manipulation, screen clear, flashing text, etc. This allows for error conditions to be more readable in output text for example.

ANSI codes are defined here : [https://en.wikipedia.org/wiki/ANSI_escape_code](ANSI Codes)

Describe the current behavior

The terminal does not respond to ANSI codes and simply prints them out. Competing serial monitoring tools such as PuTTY and minicom correctly respond to such codes.

Arduino IDE version

2.1.1

Operating system

Windows

Operating system version

10 22H2

Additional context

Addition of this feature would provide consistency on the use of colour in the main code and debug output windows and allow greater control from sketches for improved formatting and visualisation of sketch output.

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /