Xterm.js: WebGL: Canvas added to body

Created on 10 Dec 2019  路  3Comments  路  Source: xtermjs/xterm.js

With the new WebGL renderer I'm seeing a spurious problem where (what I think is) the char atlas is sometimes being added into <body> when the terminal loses focus:
image
Also see https://github.com/JunoLab/atom-ink/pull/242#issuecomment-562863787.

It's entirely possible that we're doing something stupid when initializing the terminal/renderer, but I'm still opening this issue on the off chance that someone has seen this before.

Details

  • Browser and browser version: Electron 4.2.12
  • OS version: Manjaro
  • xterm.js version: 4.3.0

Steps to reproduce

Not sure how to reproduce this, sadly.

areaddowebgl typbug

Most helpful comment

Fixes and published to [email protected]

All 3 comments

Nope, that's a bug and a pretty nasty one. Surprised no one has called it out yet.

Fixes and published to [email protected]

Thanks for the quick fix!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LB-J picture LB-J  路  3Comments

albinekb picture albinekb  路  4Comments

Tyriar picture Tyriar  路  4Comments

parisk picture parisk  路  3Comments

Mlocik97-issues picture Mlocik97-issues  路  3Comments