Some icons are not rendered correctly even after using Oh My Posh and Terminal-Icons #20020

Closed
opened 2026-01-31 07:00:54 +00:00 by claunia · 10 comments
Owner

Originally created by @tapadeep on GitHub (Jun 1, 2023).

Windows Terminal version

1.18.1462.0

Windows build number

No response

Other Software

No response

Steps to reproduce

  1. Follow the steps mentioned in Tutorial: Set up a custom prompt for PowerShell or WSL with Oh My Posh
  2. Run Windows Terminal Preview as Administrator

Expected Behavior

All icons should be properly rendered

Actual Behavior

The prompt has some -like icons
undetected

Originally created by @tapadeep on GitHub (Jun 1, 2023). ### Windows Terminal version 1.18.1462.0 ### Windows build number _No response_ ### Other Software _No response_ ### Steps to reproduce 1. Follow the steps mentioned in [Tutorial: Set up a custom prompt for PowerShell or WSL with Oh My Posh](https://learn.microsoft.com/en-us/windows/terminal/tutorials/custom-prompt-setup) 2. Run Windows Terminal Preview as Administrator ### Expected Behavior All icons should be properly rendered ### Actual Behavior The prompt has some <?>-like icons ![undetected](https://github.com/microsoft/terminal/assets/72414672/5e508277-3bbd-43fe-b0ce-bd9359854263)
claunia added the Issue-BugResolution-External labels 2026-01-31 07:00:54 +00:00
Author
Owner

@lhecker commented on GitHub (Jun 1, 2023):

Hey! If you don't mind, could you please be more precise when filing issues? 😟
oh-my-posh ships with a ton of different themes and it's not always obvious which one you chose. I believe it's the "montys" theme? In any case it looks like this for me:
image

It looks identical in other terminals I've tried. Which font are you using? 🤔

@lhecker commented on GitHub (Jun 1, 2023): Hey! If you don't mind, could you please be more precise when filing issues? 😟 oh-my-posh ships with a ton of different themes and it's not always obvious which one you chose. I believe it's the "montys" theme? In any case it looks like this for me: ![image](https://github.com/microsoft/terminal/assets/2256941/c0a0aead-9919-4d36-a620-7e8e087db1f1) It looks identical in other terminals I've tried. Which font are you using? 🤔
Author
Owner

@tapadeep commented on GitHub (Jun 1, 2023):

Yes, I'm using 'montys.omp.json,' and the font is 'CaskaydiaCoveNerdFontMono-Regular'

On changing the Windows Terminal Preview >> Defaults >> Font Face to >> 'CaskaydiaCove Nerd Font Mono,' I was able to fix one of the right-arrow icons. But the downside is that the hourglass icon is still not rendering and some of the other icons have gotten disproportionately smaller!

better

@tapadeep commented on GitHub (Jun 1, 2023): > Yes, I'm using 'montys.omp.json,' and the font is 'CaskaydiaCoveNerdFontMono-Regular' On changing the Windows Terminal Preview >> Defaults >> Font Face to >> 'CaskaydiaCove Nerd Font Mono,' I was able to fix one of the right-arrow icons. But the downside is that the hourglass icon is still not rendering and some of the other icons have gotten disproportionately smaller! ![better](https://github.com/microsoft/terminal/assets/72414672/02dfd6b7-d44b-4d4d-82b5-9b8100ed9847)
Author
Owner

@lhecker commented on GitHub (Jun 1, 2023):

Hmm that's kind of weird. The tiny icon issue should not occur if you're using the latest version (1.18.1462.0). You can check your version here:
image

I'm not sure what's happening with the hourglass icon. You could try out Delugia which is sort of the original CaskaydiaCove font. I find that it works better than CaskaydiaCove in general.

@lhecker commented on GitHub (Jun 1, 2023): Hmm that's kind of weird. The tiny icon issue should not occur if you're using the latest version (1.18.1462.0). You can check your version here: ![image](https://github.com/microsoft/terminal/assets/2256941/517a563c-4f9e-4303-8e30-373fe68aed49) I'm not sure what's happening with the hourglass icon. You could try out [Delugia](https://github.com/adam7/delugia-code) which is sort of the original CaskaydiaCove font. I find that it works better than CaskaydiaCove in general.
Author
Owner

@tapadeep commented on GitHub (Jun 1, 2023):

Hmm that's kind of weird. The tiny icon issue should not occur if you're using the latest version (1.18.1462.0). You can check your version here: image

I'm not sure what's happening with the hourglass icon. You could try out Delugia which is sort of the original CaskaydiaCove font. I find that it works better than CaskaydiaCove in general.

I'm on Version: 1.18.1462.0 only.

@tapadeep commented on GitHub (Jun 1, 2023): > Hmm that's kind of weird. The tiny icon issue should not occur if you're using the latest version (1.18.1462.0). You can check your version here: ![image](https://user-images.githubusercontent.com/2256941/242575433-517a563c-4f9e-4303-8e30-373fe68aed49.png) > > I'm not sure what's happening with the hourglass icon. You could try out [Delugia](https://github.com/adam7/delugia-code) which is sort of the original CaskaydiaCove font. I find that it works better than CaskaydiaCove in general. I'm on Version: 1.18.1462.0 only.
Author
Owner

@lhecker commented on GitHub (Jun 5, 2023):

When I install the latest "CaskaydiaCove Nerd Font Mono" from the releases page (v3.0.2) my result doesn't look anywhere close to your screenshot:
image

Did you get a chance to try out Delugia yet?

@lhecker commented on GitHub (Jun 5, 2023): When I install the latest "CaskaydiaCove Nerd Font Mono" from the releases page ([v3.0.2](https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.2)) my result doesn't look anywhere close to your screenshot: ![image](https://github.com/microsoft/terminal/assets/2256941/50668680-81ea-421a-9fb1-79c5312ced74) Did you get a chance to try out Delugia yet?
Author
Owner

@tapadeep commented on GitHub (Jun 5, 2023):

Few things:

  1. Can you try opening your terminal in admin mode?
  2. Sanity check: Have you changed the terminal font? Windows Terminal Preview >> Defaults >> Font Face >> 'CaskaydiaCove Nerd Font Mono'
  3. I can still see some icons are rendered as , which is still not expected.
  4. Will try out Delugia as well.
@tapadeep commented on GitHub (Jun 5, 2023): Few things: 1. Can you try opening your terminal in admin mode? 2. Sanity check: Have you changed the terminal font? Windows Terminal Preview >> Defaults >> Font Face >> 'CaskaydiaCove Nerd Font Mono' 3. I can still see some icons are rendered as <?>, which is still not expected. 4. Will try out Delugia as well.
Author
Owner

@tapadeep commented on GitHub (Jun 5, 2023):

Few things:

  1. Can you try opening your terminal in admin mode?
  2. Sanity check: Have you changed the terminal font? Windows Terminal Preview >> Defaults >> Font Face >> 'CaskaydiaCove Nerd Font Mono'
  3. I can still see some icons are rendered as , which is still not expected.
  4. Will try out Delugia as well.

Delugia Mono fixed the size of the icons but the hour glass symbol for time is still not rendering.

@tapadeep commented on GitHub (Jun 5, 2023): > Few things: > > 1. Can you try opening your terminal in admin mode? > 2. Sanity check: Have you changed the terminal font? Windows Terminal Preview >> Defaults >> Font Face >> 'CaskaydiaCove Nerd Font Mono' > 3. I can still see some icons are rendered as <?>, which is still not expected. > 4. Will try out Delugia as well. Delugia Mono fixed the size of the icons but the hour glass symbol for time is still not rendering.
Author
Owner

@carlos-zamora commented on GitHub (Jun 5, 2023):

Hi @tapadeep. We're going to close this as a /dup of https://github.com/JanDeDobbeleer/oh-my-posh/issues/3818

It looks like there's an ongoing discussion on the oh-my-posh repo about this bug.

@carlos-zamora commented on GitHub (Jun 5, 2023): Hi @tapadeep. We're going to close this as a /dup of https://github.com/JanDeDobbeleer/oh-my-posh/issues/3818 It looks like there's an ongoing discussion on the oh-my-posh repo about this bug.
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Jun 5, 2023):

Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Jun 5, 2023): Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!
Author
Owner

@j4james commented on GitHub (Jun 6, 2023):

In case it's not obvious from that linked issue, the hourglass icon is no longer used in the montys theme. Since v16.2.1 it has been replaced with the nf-cod-server_process icon (U+EBA2). That's the square with two little cogs that you're seeing in https://github.com/microsoft/terminal/issues/15493#issuecomment-1571811069.

The reason for the change is kind of complicated, but the gist of it is that Nerd Fonts mistakenly assigned a bunch of icons to Unicode codepoints that were reserved for real languages, and the hourglass in the montys theme was part of that set. Nerd Fonts finally removed those erroneous icons a month ago, and oh-my-posh had to be updated to account for that change.

So if your font version and oh-my-posh version are out of sync, you can expect some icons to be missing. And if you've got the latest version of everything, you can expect some of the icons to look different. So if you were hoping to get the originally hourglass icon back, you'll either need to get old versions of both the font and oh-my-posh, or possibly just create your own theme.

@j4james commented on GitHub (Jun 6, 2023): In case it's not obvious from that linked issue, the hourglass icon is no longer used in the montys theme. Since v16.2.1 it has been replaced with the nf-cod-server_process icon (U+EBA2). That's the square with two little cogs that you're seeing in https://github.com/microsoft/terminal/issues/15493#issuecomment-1571811069. The reason for the change is kind of complicated, but the gist of it is that Nerd Fonts mistakenly assigned a bunch of icons to Unicode codepoints that were reserved for real languages, and the hourglass in the montys theme was part of that set. Nerd Fonts finally removed those erroneous icons a month ago, and oh-my-posh had to be updated to account for that change. So if your font version and oh-my-posh version are out of sync, you can expect some icons to be missing. And if you've got the latest version of everything, you can expect some of the icons to look different. So if you were hoping to get the originally hourglass icon back, you'll either need to get old versions of both the font and oh-my-posh, or possibly just create your own theme.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20020