-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Links get re-evaluated when buffer changes happen outside viewport #4814
Comments
@Tyriar Wow, nice find. Could this also be the reason for the selection events being fired over and over while input flows, although there is no active selection? |
20230920_091001.mp4Flashing like this. |
There seems to be a bigger problem here where we often render when nothing happens just from input that was written below. |
@tisilent that's probably some Windows-only wrapping/reflow issue. |
@jerch yeah probably. Do we have an issue tracking that? |
Repro:
The issue is confusion between requesting re-rendering of dirty rows relative to
ybase
:xterm.js/src/common/InputHandler.ts
Lines 498 to 499 in 1618092
Then incorrectly firing onRenderedViewportChange incorrectly even when the viewport isn't re-rendered when scrolled up:
xterm.js/src/browser/services/RenderService.ts
Lines 169 to 171 in 1618092
And assuming that the event is relative to
ydisp
:xterm.js/src/browser/Linkifier2.ts
Lines 323 to 331 in 1618092
The text was updated successfully, but these errors were encountered: