Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some previous output missing when scroll up in ubuntu #14530

Closed
woshikid opened this issue Dec 12, 2022 · 4 comments
Closed

Some previous output missing when scroll up in ubuntu #14530

woshikid opened this issue Dec 12, 2022 · 4 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@woshikid
Copy link

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

@woshikid woshikid added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Dec 12, 2022
@zadjii-msft
Copy link
Member

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

@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Dec 12, 2022
@j4james
Copy link
Collaborator

j4james commented 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.

@zadjii-msft
Copy link
Member

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

/dup #3673

@zadjii-msft zadjii-msft closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2022
@ghost
Copy link

ghost commented 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 ghost closed this as completed Dec 12, 2022
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Dec 12, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants