CodeEditApp/CodeEdit

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

Open

#891 ouverte le 4 janv. 2023

Voir sur GitHub
 (0 commentaires) (5 réactions) (0 assignés)Swift (1 165 forks)batch import
enhancementgood first issue

Métriques du dépôt

Stars
 (22 856 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur