Full window-width bar in transient prompt #3708
Unanswered
forrestfwilliams
asked this question in
Troubleshoot
Replies: 2 comments 7 replies
|
@forrestfwilliams transient prompt doesn't know about this length. But we do have a feature in a regular prompt called filler that does this for right aligned blocks. I could expose this for transient as well so that it fills the entire line with a set of config defined characters. I can have a look once I'm back from my holidays. |
2 replies
|
@JanDeDobbeleer thanks for the update! I've upgraded to version transient_prompt:
foreground: "#a9b1d6"
template: "—\n"
filler: "—"I also tried it as: transient_prompt:
foreground: "#a9b1d6"
alignment: right
template: "—\n"
filler: "—"But got the same result. |
5 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.
Uh oh!
There was an error while loading. Please reload this page.
In my
zshprompt, I would like to make a transient prompt that is a bar which spans the full width of my command prompt window, regardless of window size. Ideally it would look something like this:I can create this transient prompt using a pre-defined width:
But I can't figure out how to make the bar length dynamic so that it always fits my window size. Does anyone have suggestions on how I could accomplish this? Thanks!
All reactions