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

Switch to canvas xterm.js renderrer, by default #245

Merged
merged 1 commit into from
Jun 23, 2023
Merged

Switch to canvas xterm.js renderrer, by default #245

merged 1 commit into from
Jun 23, 2023

Conversation

azatsarynnyy
Copy link
Member

@azatsarynnyy azatsarynnyy commented Jun 21, 2023

What does this PR do?

Switches the default terminal renderer from webgl (auto) to canvas.
It fixes the problem when the characters are not visible in a terminal while typing.
This issue comes from xterm.js which currently doesn't work correctly with the latest Chrome versions when GPU Acceleration is enabled.

What issues does this PR fix?

https://issues.redhat.com/browse/CRW-4513

How to test this PR?

  1. Start a workspace from https://github.com/azatsarynnyy/java-spring-petclinic/tree/xterm
  2. Check that the canvas terminal renderer is set by default:
    image

@github-actions
Copy link

github-actions bot commented Jun 21, 2023

Click here to review and test in web IDE: Contribute

@github-actions
Copy link

Pull Request images published ✨
image: quay.io/che-incubator-pull-requests/che-code:pr-245-amd64
Dev image: quay.io/che-incubator-pull-requests/che-code-dev:pr-245-dev-amd64

@azatsarynnyy azatsarynnyy changed the title [WIP] Switch to canvas xterm.js renderrer, by default Switch to canvas xterm.js renderrer, by default Jun 23, 2023
@azatsarynnyy azatsarynnyy marked this pull request as ready for review June 23, 2023 11:30
@azatsarynnyy azatsarynnyy enabled auto-merge (rebase) June 23, 2023 11:31
@azatsarynnyy azatsarynnyy merged commit f50b8fd into main Jun 23, 2023
7 checks passed
@azatsarynnyy azatsarynnyy deleted the xterm branch June 23, 2023 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants