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
It's doing some hacky stuff to re-evaluate the size when I think it could just call term.charMeasure.measure and use that to determine the width/height.
Alternatively just merging fit into the public API might be better, it would probably turn into a pretty small function when leaning on charMeasure. /cc @parisk
It's doing some hacky stuff to re-evaluate the size when I think it could just call
term.charMeasure.measure
and use that to determine the width/height.https://github.com/sourcelair/xterm.js/blob/c33814a7a665ccdd39e8d72fedeac9b322327786/src/addons/fit/fit.js#L55
The text was updated successfully, but these errors were encountered: