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

Clear screen option like macOS and Gnome terminals #4248

Closed
ascarter opened this issue Jan 15, 2020 · 2 comments
Closed

Clear screen option like macOS and Gnome terminals #4248

ascarter opened this issue Jan 15, 2020 · 2 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

@ascarter
Copy link

ascarter commented Jan 15, 2020

Description of the new feature/enhancement

Add an option (or options) to clear the screen/buffer. As a long time macOS and Linux user, I instinctively hit Cmd+K to clear the buffer (of course Ctrl-K on windows). It would be very useful to offer some clearing options like the macOS terminal does (clear to start, clear screen, clear scrollback, clear to mark). Gnome terminal also has some similar options. Ideally should be able to be mapped to a shortcut (ideally Ctrl+k or Ctrl+shift+k) but a menu option is good as well (like settings).

Proposed technical implementation details (optional)

clear already works for PowerShell, cmd, and bash. I believe this is a standard escape sequence for VT100 terminals. Ideally, just let this be a way to issue that escape sequence to the terminal that is running.

  • Expose one or more clear screen options that can be associated to a shortcut key
  • Either map Ctrl+k, Ctrl+Shift+k to clear screen by default or offer documentation so a user can add to the profile
@ascarter ascarter added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jan 15, 2020
@ghost ghost added 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 Jan 15, 2020
@DHowett-MSFT
Copy link
Contributor

/dup #1882.

@ghost
Copy link

ghost commented Jan 15, 2020

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 Jan 15, 2020
@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 Jan 15, 2020
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

2 participants