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

Integrated terminal deletes scrollback when it encounters a clear #125254

Closed
pjlsergeant opened this issue Jun 2, 2021 · 2 comments
Closed

Integrated terminal deletes scrollback when it encounters a clear #125254

pjlsergeant opened this issue Jun 2, 2021 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@pjlsergeant
Copy link

pjlsergeant commented Jun 2, 2021

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.56.2
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:44:30.902Z (2 wks ago)
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Darwin x64 19.6.0

Steps to Reproduce:

Run:

perl -e 'for ( 1 .. 100 ) { print "$_\n" }; print `clear`'

in the integrated terminal. Scroll up. Numbers will have been removed (on my machine, they start at 75). In a most shells, you'll get all the numbers. This is a problem when using libraries and tooling that tries to pretty-print its output.

@paulcarroty
Copy link

Can reproduce on Linux - 88 is the last number; same VSC version.

@Tyriar
Copy link
Member

Tyriar commented Jun 2, 2021

/duplicate xtermjs/xterm.js#1727

@Tyriar Tyriar closed this as completed Jun 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants
@pjlsergeant @paulcarroty @Tyriar and others