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

Buffer still goes missing when using python in terminal with Windows Powershell/pwsh6/cmd #2744

Closed
Jarvis73 opened this issue Sep 13, 2019 · 5 comments
Labels
Area-Output Related to output processing (inserting text into buffer, retrieving buffer text, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Needs-Tag-Fix Doesn't match tag requirements Product-Terminal The new Windows Terminal. Resolution-No-Repro We couldn't get this to happen, or it stopped happening entirely.
Milestone

Comments

@Jarvis73
Copy link

Jarvis73 commented Sep 13, 2019

Environment

Windows build number: Microsoft Windows [version 10.0.18362.356]
Windows Terminal version: 0.4.2382.0
Windows Powershell: 
                     PSVersion                      5.1.18362.145
                     PSEdition                      Desktop
                     PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                     BuildVersion                   10.0.18362.145
                     CLRVersion                     4.0.30319.42000
                     WSManStackVersion              3.0
                     PSRemotingProtocolVersion      2.3
                     SerializationVersion           1.1.0.1
Pwsh 6:
                     PSVersion                      6.2.2
                     PSEdition                      Core
                     GitCommitId                    6.2.2
                     OS                             Microsoft Windows 10.0.18362
                     Platform                       Win32NT
                     PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
                     PSRemotingProtocolVersion      2.3
                     SerializationVersion           1.1.0.1
                     WSManStackVersion              3.0

Steps to reproduce

  1. Open any of the WindowsPowershell/pwsh/cmd in windows terminal
  2. Install python package pyreadline
  3. Input python and enter interactive mode
  4. Press Enter a bunch of times, until current view goes up
  5. Lines at the top got missing and can not scroll up

Expected behavior

All the lines at the beginning should be kept and scrollback/scroll bar should appear

Actual behavior

  • cmd
    cmd

  • pwsh
    pwsh

  • Windows Powershell
    windowspowershell

Note

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Sep 13, 2019
@DHowett-MSFT DHowett-MSFT added Area-Output Related to output processing (inserting text into buffer, retrieving buffer text, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Product-Terminal The new Windows Terminal. labels Sep 16, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Sep 16, 2019
@DHowett-MSFT DHowett-MSFT added Needs-Tag-Fix Doesn't match tag requirements and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Sep 16, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Sep 16, 2019
@DHowett-MSFT
Copy link
Contributor

Nobody over here can repro this, but we're keeping it open because clearly it's an issue.

@DHowett-MSFT DHowett-MSFT added this to the Terminal v1.0 milestone Sep 16, 2019
@Jarvis73
Copy link
Author

I found python package pyreadline causes the problem. Temporarily I can skip this bug by uninstalling the package. But I think it is still necessary to fix it.

@DHowett-MSFT
Copy link
Contributor

Is this still happening? With PWSH 7 😄

@Jarvis73
Copy link
Author

Jarvis73 commented May 3, 2020

It seems that the problem has gone.

@DHowett-MSFT
Copy link
Contributor

Thank you!

@ghost ghost added the Needs-Tag-Fix Doesn't match tag requirements label May 3, 2020
@DHowett-MSFT DHowett-MSFT added the Resolution-No-Repro We couldn't get this to happen, or it stopped happening entirely. label May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Output Related to output processing (inserting text into buffer, retrieving buffer text, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Needs-Tag-Fix Doesn't match tag requirements Product-Terminal The new Windows Terminal. Resolution-No-Repro We couldn't get this to happen, or it stopped happening entirely.
Projects
None yet
Development

No branches or pull requests

3 participants