Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard Shortcut to clear terminal #9603

Closed
kevinjosethomas opened this issue Mar 24, 2021 · 4 comments
Closed

Keyboard Shortcut to clear terminal #9603

kevinjosethomas opened this issue Mar 24, 2021 · 4 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@kevinjosethomas
Copy link

Description of the new feature/enhancement

I clear my terminal after almost every command as I prefer keeping things clean, without having to scroll up; I think quite a few other people use the clear command a lot too. Always typing in clear or cls is a hassle.

Proposed technical implementation details (optional)

Add a keyboard shortcut that automatically clears the open terminal using cls or clear. I was wondering if it was possible to have a built-in keyboard shortcut that automatically clears the terminal, something that is easy to access but not already used by another function.

@kevinjosethomas kevinjosethomas added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Mar 24, 2021
@ghost ghost added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Mar 24, 2021
@237dmitry
Copy link

A good idea. But do not remove scroll-up Ctrl+L

@firstaidguyheru
Copy link

You damn near read my mind.

@zadjii-msft
Copy link
Member

Thanks for the suggestion! #1802 has a lot more details on why this is currently hard to do.

You might be able to get away with

        { "command": { "action": "sendInput", "input": "clear\r" }, "keys":"ctrl+k", "name": "clear terminal" },

which will manually send "clearenter" to the terminal. Adjust as needed for your preferred shell.

/dup #1882

@ghost
Copy link

ghost commented Mar 24, 2021

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Mar 24, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 24, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants