CodeEditApp / CodeEditApp/CodeEdit

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

Open
#891 1 comment 5 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Swift
Stars
23k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.