Skip to content

Backspace characters are not rendered in the console #5603

Open
@eric-wieser

Description

@eric-wieser

When working with the chip-kit extension for arduino, the pic32prog program is called to program the PIC. The code for this can be seen here to emit backspace characters to the console, to emulate a progress bar. This tool is configured using these lines

Unfortunately, the arduino console shows these characters as backspace symbols, rather than moving the document insertion point back to the start of the progress bar.

If this were changed in core, it would probably need to be here

Which of this are reasonable approaches to fixing this behaviour?

  • Use a full console-emulator inside the arduino IDE
  • Implement handling of \b and \r, and hope nothing else is really needed?
  • Modify picprog binary to produce \b-free output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IDEThe Arduino IDEfeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions