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

terminal: fix 'xterm' and addon dependencies to support searching #9167

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

vince-fugnitto
Copy link
Member

@vince-fugnitto vince-fugnitto commented Mar 9, 2021

What it does

Fixes: #9164

The following commit updates the xterm addon dependencies so that they are compatible with the xterm version.
The changes including pinning the xterm version as to not result in future incompatibilities and updating the addon
versions to match.

  • confirmed that the updated dependencies are license compatible using our 'clearly defined' process.
xterm.mov

How to test

  1. start the application, and spawn a terminal
  2. produce output (ex: ls -al)
  3. perform ctrlcmd+f
  4. include a search input and confirm it works, confirm that the arrows (previous and next) work

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

@vince-fugnitto vince-fugnitto added bug bugs found in the application terminal issues related to the terminal labels Mar 9, 2021
@vince-fugnitto vince-fugnitto self-assigned this Mar 9, 2021
@paul-marechal
Copy link
Member

Breakage appeared in xtermjs@4.5.0: xtermjs/xterm.js@44ff7b0#diff-d060abc72ee9e32f474e8bb163d0e8e5b9373030b4fb52c9c32ca08b91f446c9L577

@paul-marechal
Copy link
Member

Turns out the error comes from the addons being incompatible with the latest's xterm version. Solution is to use a different range for xterm as well as updating the addons accordingly.

@vince-fugnitto
Copy link
Member Author

I've updated the pull-request to bump the version of xterm but target a more specific version as to not have future incompatibility issues.

Copy link
Member

@paul-marechal paul-marechal left a comment

Choose a reason for hiding this comment

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

LGTM

The following commit updates the `xterm` addon dependencies so that they are compatible with the `xterm` version.
The changes including pinning the xterm version as to not result in future incompatibilities and updating the addon
versions to match.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto vince-fugnitto merged commit 0dbc7ef into master Mar 11, 2021
@vince-fugnitto vince-fugnitto deleted the vf/xterm-fix branch March 11, 2021 15:56
@github-actions github-actions bot added this to the 1.12.0 milestone Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application terminal issues related to the terminal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search in terminal unresponsive
2 participants