-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A crashing character joiner brings down the whole terminal #3547
Comments
Easy repro is probably to throw in the registerCharacterJoiner callback |
On a sidenote - the particular issue might be fixed in |
It's not unfortunately - I've tried forcibly upgrading ot.js to their latest release |
Ah ok. Well even if it was fixed, the character joiner should not tear down the whole terminal in the first place. |
What if we create an anonymous function to try catch the handler (which returns empty array on catch) and use that instead of the actual handler at xterm.js/src/browser/services/CharacterJoinerService.ts Lines 71 to 74 in 2014151
Does this seem ok? |
I think we just need to catch and handle exceptions here: xterm.js/src/browser/services/CharacterJoinerService.ts Lines 179 to 182 in 2014151
|
Yeah, that's the only place it's called at right now, so we can update there. Should I go ahead and open a pr for this? |
@LabhanshAgrawal I think that's the only place and probably won't change. That would be great! |
In particular,
opentype.js
cannot parse the updated Monaco font file in macOS Monterey (No valid cmap sub-tables found.
), rendering xterm unusable when the ligature addon is active.The text was updated successfully, but these errors were encountered: