Skip to content

Option to hide/render control characters (\r, \n, \0) in output #220

Description

@rzei

Problem

First of all, thanks for the great work on Scope. I really like the UI and overall user experience.
One feature that would improve log readability for firmware development would be an option to hide or render control characters such as \r, \n, and \0 instead of displaying them literally in the output view. Scope currently shows these characters as escaped representations, which is useful for protocol debugging.

For example, instead of:

System started\r\n
WiFi connected\r\n
IP: 192.168.1.100\r\n

it could optionally display:
System started
WiFi connected
IP: 192.168.1.100

Proposed solution

Possible implementations:

  • A configuration option in config.toml
  • A runtime toggle/hotkey
  • Separate "Text" and "Raw" viewing modes
  • Additional configuration on startup

Fit with the project

I think this would add to the points of beeing intuitive, compact and also user centric. As a user i dont allways need to see those to understand the logs.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNew feature or request

    Projects

    Status
    📋 v0.7.0

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions