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

Closed
opened 2026-01-31 05:51:59 +00:00 by claunia · 4 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:59 +00:00
Author
Owner

@j4james commented on GitHub (Jun 18, 2022):

I suspect this might be the same problem as #5770.

@j4james commented on GitHub (Jun 18, 2022): I suspect this might be the same problem as #5770.
Author
Owner

@egvijayanand commented on GitHub (Jun 20, 2022):

Same behavior in PowerShell tab too.

@egvijayanand commented on GitHub (Jun 20, 2022): Same behavior in PowerShell tab too.
Author
Owner

@ghost commented on GitHub (Jul 6, 2022):

:tada:This issue was addressed in #13324, which has now been successfully released as Windows Terminal v1.14.186.🎉

Handy links:

@ghost commented on GitHub (Jul 6, 2022): :tada:This issue was addressed in #13324, which has now been successfully released as `Windows Terminal v1.14.186`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.14.186) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Author
Owner

@ghost commented on GitHub (Jul 6, 2022):

:tada:This issue was addressed in #13324, which has now been successfully released as Windows Terminal Preview v1.15.186.🎉

Handy links:

@ghost commented on GitHub (Jul 6, 2022): :tada:This issue was addressed in #13324, which has now been successfully released as `Windows Terminal Preview v1.15.186`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.15.186) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17740