tuna-f1sh / cyme

List system USB buses and devices; a lib and modern cross-platform lsusb that attempts to maintain compatibility with, but also add new features
GNU General Public License v3.0
141 stars 7 forks source link

Invalid character in the `I` column #11

Closed phuclv90 closed 11 months ago

phuclv90 commented 1 year ago

When I tried cyme in both the default macOS terminal or iTerm2 I always get some private U+F287 characters that's undisplayable. Why is that and is there anyway to fix it?

Screenshot 2023-07-05 at 2 29 01 PM
tuna-f1sh commented 1 year ago

It's most probably because the font are using is missing glyphs. I realise I haven't added a note on this to my repository but the one in lsd should be applicable for you to sort this: https://github.com/lsd-rs/lsd#icons-not-showing-up

I'll add something similar to the README.

tuna-f1sh commented 1 year ago

I've updated the README: https://github.com/tuna-f1sh/cyme#custom-icons-and-colours

Note that you can either install a nerd font, remove the icon column with a custom config or use only --ascii chars.