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

Text selection highlight still remains visible after scrolling in the terminal #5198

Open
jolgau opened this issue Oct 28, 2024 · 1 comment

Comments

@jolgau
Copy link

jolgau commented Oct 28, 2024

When I'm selecting a text in the viewport, after I scroll, a small highlight of the previous text still remains clinging on the viewport.

Had to fix it by providing this class:

.xterm-selection {
overflow: hidden;
}

Screenshot 2024-10-28 at 11 02 59
Screenshot 2024-10-28 at 11 03 05

@Tyriar
Copy link
Member

Tyriar commented Oct 28, 2024

I can't reproduce this, are you on the latest version (@xterm/xterm) and are you doing something atypical with the scrolling? For example are you creating a tall terminal and wrapping that with your own scroll bar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants