Skip to content

Lines scrolled up by less command remain to exist after quitting the command #4676

@sh-ikeda

Description

@sh-ikeda

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.657]
Windows Terminal: 0.9.433.0
WSL1
Ubuntu 18.04
bash

Steps to reproduce

  1. Open Ubuntu 18.04 on WSL
  2. Fill the console screen with any outputs
  3. Run less command
  4. Scroll down
  5. Quit less command
  6. Scroll up

Expected behavior

The console screen recovers to the state just before the less command

Actual behavior

Lines scrolled up during the less command remain to exist above the upper boundary
winterm_issue_less

This does not happen in the default console of WSL and ConEmu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.Priority-2A description (P2)Product-TerminalThe new Windows Terminal.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions