devblackops / Terminal-Icons

A PowerShell module to show file and folder icons in the terminal
MIT License
2.32k stars 104 forks source link

There is bug with using version 0.11, with some icons displaying as "?" #127

Open Baiyi27 opened 5 months ago

Baiyi27 commented 5 months ago

Expected Behavior

Current Behavior

There is an issue with using version 0.11, with some icons displaying as "?" if using version 0.10, this issue will not occur

Possible Solution

Steps to Reproduce (for bugs)

302116179-c7e32daa-dc0c-48ed-9d2f-8c40d8593f2b

The left side of the screenshot is Terminal-Icons version 0.11.0, and the right side is version 0.10.0 The screenshot above only shows that some icons have problems, and there are more icons with problems.

Context

Your Environment

verzada commented 3 months ago

I had the same problem with 0.11.0, after following @Baiyi27 report, downgrading to 0.10 worked for me as well.

My OS is image Powershell 7.4.1

webbertakken commented 3 months ago

For me it was the other way around. Was having some questionmarks in v0.10.0. When I upgraded to v0.11.0 using Install-Module Terminal-Icons -F, things started working.

I'm using the latest version of FiraCode Nerd Font Mono.

Having the reverse of @verzada makes me think that this issue might be caused by a mismatch between Nerd Font and Terminal-Icons versions. Perhaps some icon allocations switched around in the fonts and Terminal Icons adapted accordingly?

Tiberriver256 commented 3 months ago

Yep, if 0.10.0 looks good for you and 0.11.0 doesn't. You have Nerd Fonts v2 installed.

Uninstall all your v2 fonts and then install v3 fonts to upgrade.