After clearing the screen (cls command) and then scrolling up, results in the last line of the previous screen still visible #17737

Open
opened 2026-01-31 05:51:52 +00:00 by claunia · 0 comments
Owner

Originally created by @egvijayanand on GitHub (Jun 18, 2022).

Windows Terminal version

1.13.11432.0

Windows build number

10.0.22000.739

Other Software

No response

Steps to reproduce

  1. Open Terminal
  2. Navigate to C:\Windows\System32, a folder where files are available in large numbers so that results occupy an almost available screen space
  3. First run the dir command so that Terminal is made use of
  4. Now clear the screen using the cls command
  5. Now try to scroll up, the last line of the previous screen is still visible

Expected Behavior

When cleared nothing should be visible from the previous result.

Actual Behavior

When scrolled upwards, the last line is still visible even after clearing the results.

Originally created by @egvijayanand on GitHub (Jun 18, 2022). ### Windows Terminal version 1.13.11432.0 ### Windows build number 10.0.22000.739 ### Other Software _No response_ ### Steps to reproduce 1. Open Terminal 2. Navigate to `C:\Windows\System32`, a folder where files are available in large numbers so that results occupy an almost available screen space 3. First run the `dir` command so that Terminal is made use of 4. Now clear the screen using the `cls` command 5. Now try to scroll up, the last line of the previous screen is still visible ### Expected Behavior When cleared nothing should be visible from the previous result. ### Actual Behavior When scrolled upwards, the last line is still visible even after clearing the results.
claunia added the Needs-TriageResolution-Fix-CommittedIssue-BugNeeds-Tag-Fix labels 2026-01-31 05:51:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17737