Upgrade to 24 breaks leading_diamond in top-level block? #5911
-
After upgrading to 24, my prompt stopped working. Specifically, it appears that version: 3
final_space: true
blocks:
- type: prompt
alignment: left
leading_diamond: <transparent,background></>
trailing_diamond:
segments:
- type: executiontime
properties:
style: round
threshold: 1500
trailing_diamond:
foreground: p:sapphire
background: p:surface1
style: diamond
- type: status
properties:
always_enabled: true
foreground: p:black
background: p:blue
style: diamond
template: " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} "
palette:
sapphire: "#74c7ec"
blue: "#89b4fa"
surface1: "#45475a"
black: "#000000" With this config, version 23.20.3 works correctly and looks like this: (note the first character of the prompt): When I upgrade to 24, the leading diamond no longer shows unless the exectime segment is enabled: I'm sure this is user error and documented somewhere, but I reread the docs for the block section and leading diamond parameter, but I must be missing something. Any help would be appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@pkazmier allow me to debug this later today and thank you for the detailed write-up and provided configuration. 🙏🏻 |
Beta Was this translation helpful? Give feedback.
@pkazmier confirmed to be a bug, solved in #5914