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

Allow xterm.js to run on legacy versions of Safari when Webgl2 support is explicitly enabled #4836

Merged
merged 3 commits into from Nov 2, 2023

Conversation

xiaoxiaobt
Copy link
Contributor

On older versions of iOS and iPadOS, WebKit rendering engine the only option for Safari and all third-party browsers. Running xterm.js on these devices is currently impossible, even if the user has enabled Webgl2 support in Settings - Safari - Advanced - Experimental Features.

This pull request adds an extra check on devices with legacy version of Safari in WebglAddon.ts that determines the actual capability of running Webgl2 on the device, so users who have enabled Webgl2 can use xterm.js without any troubles.

@Tyriar Tyriar added this to the 5.4.0 milestone Nov 2, 2023
@Tyriar Tyriar self-assigned this Nov 2, 2023
@Tyriar Tyriar merged commit 139bf36 into xtermjs:master Nov 2, 2023
19 checks passed
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.

None yet

2 participants