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

Only persist terminals when they have had interaction #158604

Merged
merged 2 commits into from
Aug 23, 2022
Merged

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Aug 19, 2022

Fixes #158595

@Tyriar Tyriar added this to the August 2022 milestone Aug 19, 2022
@Tyriar Tyriar requested a review from meganrogge August 19, 2022 15:22
@Tyriar Tyriar self-assigned this Aug 19, 2022
meganrogge
meganrogge previously approved these changes Aug 19, 2022
@Tyriar Tyriar enabled auto-merge August 19, 2022 15:46
@Tyriar
Copy link
Member Author

Tyriar commented Aug 19, 2022

The test failure is because of the changes 🤔

@bpasero
Copy link
Member

bpasero commented Aug 20, 2022

Is it possible to preserve this behaviour of restoring terminals, but not load xterm in the process? I had mainly reported the issue as I noticed that we seem to load xterm without any terminal being visible, which felt strange because no UI piece of the terminal component was visible in the UI.

@Tyriar
Copy link
Member Author

Tyriar commented Aug 22, 2022

@bpasero no it's not, as soon as we reattach to the processes, xterm much be loaded on the renderer. This is required for example to handle any data events that could come in and pass on fire events to the extension host API.

@Tyriar Tyriar merged commit 0380d81 into main Aug 23, 2022
@Tyriar Tyriar deleted the tyriar/158595 branch August 23, 2022 15:26
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xterm is loaded even when not visible
3 participants