Skip to content

Make xterm.js multi-window aware#4846

Merged
Tyriar merged 8 commits intoxtermjs:masterfrom
Tyriar:multi_window
Oct 17, 2023
Merged

Make xterm.js multi-window aware#4846
Tyriar merged 8 commits intoxtermjs:masterfrom
Tyriar:multi_window

Conversation

@Tyriar
Copy link
Copy Markdown
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