SimplySerial icon indicating copy to clipboard operation
SimplySerial copied to clipboard

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

Open edsonbrusque opened this issue 5 months ago • 1 comments

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.

edsonbrusque avatar Jul 11 '25 16:07 edsonbrusque