Skip to content

WSL Ubuntu clear -x partially clears scrollback #2260

@RyanHope97

Description

@RyanHope97

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.267]
Windows Terminal version (if applicable): 0.3.2142.0
WSL 1 with Ubuntu 18.04

Steps to reproduce

  1. Open terminal with WSL Ubuntu
  2. Display something on stdout (e.g. echo Hello world!)
  3. Run clear -x or Ctrl+L

Expected behavior

Move promt to top of the screen and put what is currently dispalyed on the screen in the scrollback. This is how the old console functioned.

Actual behavior

Moves promt to top of the screen, and clears what is currently displayed on the screen without putting it in the scrollback

Metadata

Metadata

Assignees

Labels

Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Area-VTVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.Priority-2A description (P2)Product-ConptyFor console issues specifically related to conptyResolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions