You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is expected since open() wasn't called and so this.charMeasure is undefined. I'm not sure this is needed when running headless. I removed the line and it seems to be working.
If it is needed we could mock the DOM elements by using something like JSDOM?
Thanks!
The text was updated successfully, but these errors were encountered:
When running Xterm.js 3.0.2 in headless mode ( i.e not calling the
open(container)
function) I get:kubebox.js:2633 TypeError: Cannot read property 'width' of undefined at Terminal.resize (xterm.js:4099)
Which corresponds to this line.
Which is expected since open() wasn't called and so
this.charMeasure
is undefined. I'm not sure this is needed when running headless. I removed the line and it seems to be working.If it is needed we could mock the DOM elements by using something like JSDOM?
Thanks!
The text was updated successfully, but these errors were encountered: