Open jolgau opened 1 month ago
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?
For what it's worth, I saw this too. At first I assumed it was an intentional feature, but it seems to behave a bit weirdly (always shows up at the top even if the selection is scrolled off the bottom of the window). It's reproducible with minimal configuration: https://codesandbox.io/p/sandbox/xtermjs-test-forked-rfznf7
(Chrome 131.0.6778.70, macOS 15.1)
https://github.com/user-attachments/assets/750a2d06-6e51-4eeb-aa33-1da037275a2b
@Tyriar 遇到了相同问题, 1.如果使用HTML渲染方式,会出现灰块,一直悬浮在顶部, 2.如果使用webgl方式渲染,则会出现,最后一行,复制时选中行错乱问题(有尝试过增大行高依旧无效) 请给出解决方案,急!!!!
It's unclear why I don't see this in VS Code either 🤔
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; }