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

Missing terminal output when scrolling up #91574

Closed
mattacosta opened this issue Feb 26, 2020 · 8 comments
Closed

Missing terminal output when scrolling up #91574

mattacosta opened this issue Feb 26, 2020 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities *out-of-scope Posted issue is not in scope of VS Code terminal General terminal issues that don't fall under another label terminal-conpty Integrated terminal issues related to the ConPTY backend windows VS Code on Windows issues
Milestone

Comments

@mattacosta
Copy link
Contributor

mattacosta commented Feb 26, 2020

Issue Type: Bug

Steps to reproduce:

  1. Run a simple script in the terminal a few times.
    Ex: console.log('Hello world');
  2. Scroll up.
  3. For previously hidden output, one of the first few lines is now missing.

terminal

Notes:

  • I have no custom terminal settings.
  • If the output has more than 1 line, subsequent lines are shown.

VS Code version: Code - Insiders 1.43.0-insider (b0be067, 2020-02-26T05:30:24.470Z)
OS version: Windows_NT x64 10.0.18362

Extensions (2)
Extension Author (truncated) Version
vscode-eslint dba 2.1.1
vscode-icon-theme jtl 1.6.5
@Tyriar
Copy link
Member

Tyriar commented Feb 27, 2020

By first line do you mean at the top or bottom? A gif would be helpful to see if a line is going missing.

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Feb 27, 2020
@mattacosta
Copy link
Contributor Author

mattacosta commented Feb 27, 2020

After more testing... I don't even know what's going on anymore:

console.log('1');
console.log('2');
console.log('3');  // <-- missing

terminal_3

console.log('1');
console.log('2');  // <-- missing
console.log('3');
console.log('4');

terminal_4

Tests:

  • 2 lines: the line with "2" went missing
  • 3 lines: the line with "3" went missing - see gif above
  • 4 lines: the line with "2" went missing - see gif above
  • 5 lines: the line with "5" went missing
  • 6 lines: the line with "1" went missing

When the gif loops, you can also see that a line from the Windows PowerShell header is missing too.

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug terminal General terminal issues that don't fall under another label terminal-conpty Integrated terminal issues related to the ConPTY backend windows VS Code on Windows issues and removed info-needed Issue requires more information from poster labels Feb 28, 2020
@Tyriar Tyriar added this to the Backlog milestone Feb 28, 2020
@Tyriar Tyriar added the help wanted Issues identified as good community contribution opportunities label Feb 28, 2020
@Tyriar
Copy link
Member

Tyriar commented Feb 28, 2020

Unconfirmed, likely an upstream problem.

@ALapinskas
Copy link

ALapinskas commented Mar 18, 2020

Have same behavior. It is repeated only when you choose powershell, cmd works fine. Howewer it is not repeated from powershell started as standalone application. The version of powershell is 5.1.18362.628, located under C:\Windows\System32\WindowsPowerShell\v1.0

@jppm99
Copy link

jppm99 commented Mar 23, 2020

Disabling conPTY fixed this for me.

@mattacosta
Copy link
Contributor Author

Did more digging and this looks very similar to: microsoft/terminal#3163

That in turn links to PowerShell/PSReadLine#724 which was fixed a little over a year ago. As far as I can tell, my system already has the latest version (2.0.0) of this module though...

@Tyriar
Copy link
Member

Tyriar commented Sep 1, 2021

Nothing we can do here on our side, see linked issues

@Tyriar Tyriar added the *out-of-scope Posted issue is not in scope of VS Code label Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities *out-of-scope Posted issue is not in scope of VS Code terminal General terminal issues that don't fall under another label terminal-conpty Integrated terminal issues related to the ConPTY backend windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

5 participants
@mattacosta @ALapinskas @Tyriar @jppm99 and others