Skip to content

Add keyboard shortcut to clear screen/buffer (Ctrl+L) #51

@edsonbrusque

Description

@edsonbrusque

Feature Request

Current Behavior

SimplySerial currently only supports Ctrl+X for exiting. When monitoring verbose logs (e.g., ESP32 debugging), the terminal can become cluttered with no way to clear it without restarting the application.

Proposed Feature

Add a keyboard shortcut (suggested: Ctrl+L) to clear the terminal screen/buffer while maintaining the serial connection.

Use Case

When monitoring device logs during development, being able to clear the screen helps to:

  • Focus on new log entries after making changes
  • Reduce visual clutter during debugging sessions
  • Mark a "fresh start" point without losing the connection

Suggested Implementation

  • Ctrl+L: Clear screen (common terminal convention)
  • Alternative: Ctrl+K (clear buffer)
  • Could send ANSI escape sequence: \033[2J\033[H

Additional Context

This would maintain SimplySerial's philosophy of simplicity while adding a frequently-needed feature for serial monitoring workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions