Skip to content

Conversation

@jeanp413
Copy link
Contributor

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeanp413 could you explain what the problem was? Would help me out plus be good to have here for posterity.

@jeanp413
Copy link
Contributor Author

jeanp413 commented Nov 22, 2022

Because ITextureAtlas is shared across terminals, if a GlyphRenderer for terminal A sets hasCanvasChanged to false then other terminals B, C, etc won't call _bindAtlasPageTexture and update the texture object in its respective webgl context

Tyriar
Tyriar previously requested changes Nov 23, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks. Just one comment that would make it a lot easier to understand imo

@Tyriar Tyriar enabled auto-merge November 23, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disappearance of characters and whole lines when opening multiple terminals

2 participants