CodeEditApp/CodeEdit

✨ Add "Clear To Start" (⌘K) shortcut to integrated terminal

Open

#891 aperta il 4 gen 2023

Vedi su GitHub
 (0 commenti) (5 reazioni) (0 assegnatari)Swift (1165 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (22.856 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Pressing ⌘K while focused on the integrated terminal should clear the terminal window and the scrollback buffer.

Describe alternatives you've considered

Could potentially be an option that can be enabled/disabled, but see below for why it should be enabled by default.

Additional context

The ⌘K shortcut is pretty standard across macOS terminals (see Terminal.app, Hyper, VS Code integrated terminal, etc). ⌘K functions similar to the Ctrl-L shortcut or clear command, but additionally clears the scroll backbuffer.

Guida contributor