wavetermdev / waveterm

An open-source, cross-platform terminal for seamless workflows
https://www.waveterm.dev
Apache License 2.0
3.15k stars 72 forks source link

Get system fonts on dropdown #666

Open AM-I-Human opened 1 month ago

AM-I-Human commented 1 month ago

I notice that if I run /client:set termfontfamily="My Nerd Font Mono" I can use my system fonts without issues, maybe it is possible to add something like this: https://github.com/princjef/get-system-fonts. If installing is the issue the code is right here: https://github.com/princjef/get-system-fonts/blob/232af282ee66c51c0335a01ff07e759d53ce8ddd/src/index.ts

https://github.com/wavetermdev/waveterm/blob/1234919229720736d9eb655e5f818e3e4ffea5a9/src/app/clientsettings/clientsettings.tsx#L134

AM-I-Human commented 1 month ago

Probably a duplicate of #83