Use OffscreenCanvas over DOM for WidthCache

Fixes #5548
This commit is contained in:
Daniel Imms
2025-12-30 02:57:09 -08:00
parent 00ad3eac40
commit ef978b370b
2 changed files with 39 additions and 59 deletions
-9
View File
@@ -112,15 +112,6 @@
top: 0;
}
.xterm-char-measure-element {
display: inline-block;
visibility: hidden;
position: absolute;
top: 0;
left: -9999em;
line-height: normal;
}
.xterm.enable-mouse-events {
/* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
cursor: default;