You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Oh My Posh v6.44.1 7.5.1 (just tried this with the latest version and the issue still persists), Windows Terminal, and Powershell. The issue occurs in both Powershell v5 and v7. I followed this tutorial.
The triangles circled in red in the image below should not appear; those areas should be transparent. The first theme is night-owl and the second is clean-detailed.
It looks like there might be two things happening, though take this with a grain of salt. First, it's failing to apply transparent to leading and trailing diamonds, and rather uses the colour value of the foreground attribute.
Second, it looks like there's an error in the night-owl theme where the trailing diamond has the wrong second colour value for the java block. Instead of "trailing_diamond": "<transparent,#0e8ac8>\uE0B2</>",, it should be "trailing_diamond": "<transparent,#ffffff>\uE0B2</>",. This would make it consistent with all the other blocks, where the second colour values for the leading and trailing diamonds are the same as the colour values of the background attributes.
Theme
I'm using night-owl, but the same issue persists no matter what the theme is.
@Victoria-DR thanks for the detailed analysis. Unfortunately, this is a bug in Windows Terminal. They've been holding back a fix for quite a while now.
The Java segment indeed seems to have a glitch in the theme. You can file a PR for that or I can check it.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
I'm using Oh My Posh
v6.44.17.5.1 (just tried this with the latest version and the issue still persists), Windows Terminal, and Powershell. The issue occurs in both Powershell v5 and v7. I followed this tutorial.The triangles circled in red in the image below should not appear; those areas should be transparent. The first theme is night-owl and the second is clean-detailed.
It looks like there might be two things happening, though take this with a grain of salt. First, it's failing to apply
transparent
to leading and trailing diamonds, and rather uses the colour value of theforeground
attribute.Second, it looks like there's an error in the night-owl theme where the trailing diamond has the wrong second colour value for the java block. Instead of
"trailing_diamond": "<transparent,#0e8ac8>\uE0B2</>",
, it should be"trailing_diamond": "<transparent,#ffffff>\uE0B2</>",
. This would make it consistent with all the other blocks, where the second colour values for the leading and trailing diamonds are the same as the colour values of thebackground
attributes.Theme
I'm using night-owl, but the same issue persists no matter what the theme is.
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
The text was updated successfully, but these errors were encountered: