Some previous output missing when scroll up in ubuntu #19045

Closed
opened 2026-01-31 06:32:18 +00:00 by claunia · 4 comments
Owner

Originally created by @woshikid on GitHub (Dec 12, 2022).

Windows Terminal version

1.15.2874.0

Windows build number

10.0.19045.2251

Other Software

apt (inside the WSL)

Steps to reproduce

  1. open a ubuntu tab or a "cmd" tab then run bash
  2. the terminal window is about 20 lines in height
  3. run sudo apt autoremove -y vim
  4. run sudo apt install vim
  5. scroll up to see the history output
  6. you'll find some previous output has missing

Expected Behavior

When the window is big enough, the output should like this:
image

Actual Behavior

But when the window is 20 lines height, after scrolling up, the content is missing.
Some output of sudo apt autoremove -y vim is missing
Some output of sudo apt install vim is missing even the command itself.
image

and this is the screenshot after I make the window bigger.
image

Originally created by @woshikid on GitHub (Dec 12, 2022). ### Windows Terminal version 1.15.2874.0 ### Windows build number 10.0.19045.2251 ### Other Software apt (inside the WSL) ### Steps to reproduce 1. open a ubuntu tab or a "cmd" tab then run `bash` 2. the terminal window is about 20 lines in height 3. run `sudo apt autoremove -y vim` 4. run `sudo apt install vim` 5. scroll up to see the history output 6. you'll find some previous output has missing ### Expected Behavior When the window is big enough, the output should like this: ![image](https://user-images.githubusercontent.com/29223368/206979812-57ae0803-0d4e-43e1-a88e-87dc572789ac.png) ### Actual Behavior But when the window is 20 lines height, after scrolling up, the content is missing. Some output of `sudo apt autoremove -y vim` is missing Some output of `sudo apt install vim` is missing even the command itself. ![image](https://user-images.githubusercontent.com/29223368/206978236-cb62e523-89a3-4ce5-a00a-174c2d5d272c.png) and this is the screenshot after I make the window bigger. ![image](https://user-images.githubusercontent.com/29223368/206979158-5b9dbabd-6955-46b6-b601-d1bd7488cb57.png)
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:32:18 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Dec 12, 2022):

Hmm, this is different from #14512. In that one, the lines of text are missing, but the newlines are still there. Here, the row seems to be missing entirely.

Was the sudo apt install vim line originally in the buffer/? If so, I'd reckon this is the same root cause as #12805

@zadjii-msft commented on GitHub (Dec 12, 2022): Hmm, this is different from #14512. In that one, the lines of text are missing, but the newlines are still there. Here, the row seems to be missing entirely. Was the `sudo apt install vim` line originally in the buffer/? If so, I'd reckon this is the same root cause as #12805
Author
Owner

@j4james commented on GitHub (Dec 12, 2022):

I think this is just because apt is using a scrolling region that starts at the top of the screen (issue #3673). See also #7687 and #9939.

@j4james commented on GitHub (Dec 12, 2022): I think this is just because apt is using a scrolling region that starts at the top of the screen (issue #3673). See also #7687 and #9939.
Author
Owner

@zadjii-msft commented on GitHub (Dec 12, 2022):

Op, yea, that looks right to me. Thanks!

/dup #3673

@zadjii-msft commented on GitHub (Dec 12, 2022): Op, yea, that looks right to me. Thanks! /dup #3673
Author
Owner

@ghost commented on GitHub (Dec 12, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Dec 12, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19045