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

Fix starting pseudoterminal #10780

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

thegecko
Copy link
Member

@thegecko thegecko commented Feb 19, 2022

Signed-off-by: robmor01 Rob.Moran@arm.com

What it does

When using a pseudoterminal, the $terminalOpened() function in terminal-ext.ts should signal the pseudoterminal to open.
This wasn't working because the wrong ID (terminalID - index of open terminal) was being used to find the pseudoterminal rather than the UUID it was keyed on.

This resulted in pseudoterminals not starting.

How to test

Use an extension or plugin which implements a pseudoterminal for emitting data.
I could create an example project, but it would take some time...

Review checklist

Reminder for reviewers

Signed-off-by: robmor01 <Rob.Moran@arm.com>
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

I wasn't able to test it, but the changes seem reasonable to me!

@thegecko thegecko merged commit 363e521 into eclipse-theia:master Feb 21, 2022
@thegecko thegecko deleted the fix-starting-pseudoterminal branch February 21, 2022 15:20
colin-grant-work pushed a commit to colin-grant-work/theia that referenced this pull request Feb 23, 2022
Signed-off-by: robmor01 <Rob.Moran@arm.com>
@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label Feb 24, 2022
@vince-fugnitto vince-fugnitto added this to the 1.23.0 milestone Feb 24, 2022
federicobozzini pushed a commit to ARMmbed/theia that referenced this pull request Aug 24, 2022
Signed-off-by: robmor01 <Rob.Moran@arm.com>
thegecko added a commit to ARMmbed/theia that referenced this pull request Jan 23, 2023
Signed-off-by: robmor01 <Rob.Moran@arm.com>

This reverts commit 363e521.
thegecko added a commit that referenced this pull request Jan 23, 2023
Signed-off-by: robmor01 <Rob.Moran@arm.com>

This reverts commit 363e521.
@thegecko thegecko mentioned this pull request Feb 3, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants