Skip to content

Conversation

ammario
Copy link
Member

@ammario ammario commented Aug 24, 2023

fix(site): use WebGL renderer for terminal

It's faster than Canvas.


Stack created with Sapling. Best reviewed with ReviewStack.

Previously, characters such as 🟢 were given insufficient space, leading
to mangled output.
@@ -103,7 +103,9 @@
"xterm": "5.2.1",
"xterm-addon-canvas": "0.4.0",
Copy link
Member

Choose a reason for hiding this comment

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

Should canvas addon be removed or is it still being used somewhere?

@github-actions
Copy link

github-actions bot commented Aug 25, 2023


✔️ PR 9320 Created successfully.
🚀 Access the credentials here.

cc: @matifali

@mafredri
Copy link
Member

We should confirm that we don't re-introduce a regression with this change (c.f. #7953, #8138).

That was DOM vs canvas, though. So probably not applicable here. But better safe than sorry.

@matifali
Copy link
Member

matifali commented Aug 25, 2023

@mafredri I tested htop and it was working fine no overlapping or anything, even with resizing. Do you suggest any further tests. we can test in our PR deployment.

@mafredri
Copy link
Member

@matifali nice! There's a lot we could test but I think htop is a good benchmark unless we know other potentially problematic software. A few others that come to mind: vim, emacs.

@ammario ammario added the hotfix label Aug 25, 2023
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

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

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@ammario ammario merged commit 14f769d into main Aug 25, 2023
@ammario ammario deleted the pr9320 branch August 25, 2023 17:46
@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2023
@matifali
Copy link
Member

cc: @BrunoQuaresma

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.

3 participants