CommitMono Nerd Font crashed VS Code Terminal
Requirements
- [x] I have searched the issues for my issue and found nothing related or helpful
- [x] I have searched the FAQ for help
- [x] I have checked the Wiki for help
Experienced Behavior
Opening a terminal window in VS Code while using CommitMono Nerd Font on Windows 11 will let VS Code crash with an out of memory message after a short while.
The font renders fine in the code editor.
This only happens when CommitMono Nerd Font is configured as the active editor font in VS Code settings.
Expected Behavior
Expected the font to render in terminal window.
Example Symbols or Text
No response
Font Used
CommitMono Nerd Font
Source of Font File
https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/CommitMono.zip
Terminal Emulator (and the title of the terminal window)
VS Code
Operating System and Version
Windows 11
Screenshots
No response
I had the same issue with CommitMono, which went away when I restored VS Code's default font.
It appears similar to this issue with VS Code: https://github.com/microsoft/vscode/issues/226484
Did you try with the original Commit Mono font (i.e. without Nerd Font icons)? The patch process does not issue any warning. Maybe you can install the font files from https://github.com/ryanoasis/nerd-fonts/tree/master/src/unpatched-fonts/CommitMono (i.e. version 1.143). Nerd Font does not add any ligs, and that seemed to be the problem source in the referenced VS Code issues (see https://www.github.com/microsoft/vscode/issues/239541); then the problem would be upstream and/or at MS and not a problem that we introduce.
Edit: Add non-backping link to ligature issue
Thank you, that seems to be the fix. The action that would reliably crash VS Code (docker compose down) works fine now.
Edit: I was also able to get the font working successfully from https://commitmono.com/ by turning off all features ss01 to ss05 before downloading it. Turning off ligatures alone did not fix the issue.