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

Previous output/prompt gobbled when scrolled up in VS Code terminal #576

Closed
st0012 opened this issue Jul 21, 2023 · 0 comments · Fixed by #577
Closed

Previous output/prompt gobbled when scrolled up in VS Code terminal #576

st0012 opened this issue Jul 21, 2023 · 0 comments · Fixed by #577
Labels
bug Something isn't working

Comments

@st0012
Copy link
Member

st0012 commented Jul 21, 2023

Description

When using Reline in VS Code terminal, if the user scrolls up to see previous output, some of them would be gobbled.

Examples

In this IRB example, some previous prompts and "parts" of the if condition disappeared when scrolling up:

Screen.Recording.2023-07-21.at.15.12.11.mov

Similar issues happen with Reline's bin/example as well. You can see the previous echoed values disappeared.

Screen.Recording.2023-07-21.at.15.18.37.mov

Terminal Emulator

I tested the above examples with ZSH in both iTerm2 and VS Code terminal, and the problem only happens in VS Code Terminal.

(Edit: it also happens when using bash in VS Code terminal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant