feat(desktop): add clear terminal option to right-click context menu

Merged
KI
1y ago
+69-6

Summary

  • Add "Clear Terminal" option to the terminal right-click context menu
  • Uses the Eraser icon and displays the ⌘K keyboard shortcut
  • Mirrors the existing CMD+K functionality for clearing terminal

Test plan

  • Right-click on a terminal pane
  • Verify "Clear Terminal" option appears below "Split Vertically"
  • Click "Clear Terminal" and verify terminal is cleared
  • Verify CMD+K still works as before

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a "Clear Terminal" action to the terminal context menu with keyboard shortcut (⌘K), enabling users to quickly clear terminal content directly from the UI.

✏️ Tip: You can customize this high-level summary in your review settings.