Negligible theme broke since recent update #7293
Unanswered
boekabart
asked this question in
Troubleshoot
Replies: 2 comments
-
|
Note: style |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@boekabart that makes no sense, the type of segment can't influence the engine doing the rendering logic. I'll see if I can reproduce this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Code of Conduct
What happened?
Since the most recent oh-my-posh upgrade, the negligible theme broke.
is all that's rendered, with a single empty column after the
:16, which is where the cursor is (on line 1).It's supposed to 'newline' and print the red-or-green -> on the next line.
Gemini has fixed it for me (locally) by changing the last block from:
{ "alignment": "left", "newline": true, "segments": [ { "foreground": "lightGreen", "foreground_templates": [ "{{ if gt .Code 0 }}red{{ end }}" ], "options": { "always_enabled": true }, "style": "powerline", "template": "\u279c ", "type": "status" } ], "type": "prompt" }to:
{ "alignment": "left", "newline": true, "segments": [ { "foreground": "lightGreen", "foreground_templates": [ "{{ if gt .Code 0 }}red{{ end }}" ], "style": "plain", "template": "\u279c ", "type": "text" } ], "type": "prompt" }For Info - I asked Gemini to refer to
multiverse-neonbecause it's similar and does still work.Theme
Negligible
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
Beta Was this translation helpful? Give feedback.
All reactions