Add extra space to the end of a transient prompt #2120
Answered
by
JanDeDobbeleer
bleuthoot-sven
asked this question in
Troubleshoot
-
Hello, I have been trying to add a new line to the end of a transient prompt, so the commands will be a bit more spaced out. I kind of want it to look like how it is done with Powerlevel10k How can I achieve this? The closest I got was adding this block to the top, but this will also add a new line when I open PowerShell: {
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "plain",
"template": "\u0000"
}
],
"newline": true
} How it looks: |
Beta Was this translation helpful? Give feedback.
Answered by
JanDeDobbeleer
Apr 21, 2022
Replies: 1 comment 3 replies
-
The only way to reach this is to add a newline to the first block indeed. This is a reload prompt, so we have no influence of what's added after the command. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
bleuthoot-sven
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The only way to reach this is to add a newline to the first block indeed. This is a reload prompt, so we have no influence of what's added after the command.