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

Make xterm.js multi-window aware #4846

Merged
merged 8 commits into from
Oct 17, 2023
Merged

Make xterm.js multi-window aware #4846

merged 8 commits into from
Oct 17, 2023

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Oct 17, 2023

The main issue this aims to solve is that xterm.js doesn't know when the window of Terminal.element changes and as such does not react to it. The main problem this causes is devicePixelRatio doesn't update when switching between monitors with different OS scaling, but there may be other problems with using "stale" windows as well. Note that this is only an issue if moving an xterm.js instance that was already opened into a new window, not if a new instance was created in a sub-window like how the client.ts button works.

See microsoft/vscode#195577

@Tyriar Tyriar added this to the 5.4.0 milestone Oct 17, 2023
@Tyriar Tyriar self-assigned this Oct 17, 2023
@Tyriar Tyriar marked this pull request as ready for review October 17, 2023 17:57
@Tyriar Tyriar enabled auto-merge October 17, 2023 17:57
@Tyriar Tyriar merged commit 78a6aac into xtermjs:master Oct 17, 2023
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.

1 participant