Skip to content

Add a terminal-side shortcut for clearing the screen and/or scrollback #1882

@prumbles

Description

@prumbles

It would be great to have the equivalent of Command+K on the Mac terminal. This clears the terminal completely, not the equivalent of typing "clear", which only scrolls the cursor to the top of the terminal. My use case is the following:

  • Open an Ubuntu terminal
  • ssh into a server
  • run a command which may produce large amounts of content and exceptions within the content
  • fix the exceptions by making a code change
  • CLEAR the terminal completely (not just a "clear" command)
  • re-run the command
  • now that the previous command output was cleared, we can search for new exceptions without getting the previous exceptions
  • NOTE: this also requires a "ctrl+F" type feature to exist in the terminal, which currently does not

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions