Closed andriniaina closed 3 years ago
Apart from just copying someone else's implementation of this, is there actually something wrong with the current implementation that you're trying to fix?
What do you mean copying someone else's implementation?
Maybe I am doing something wrong but with the existing code, I see this
promptleft1>promptLeft2> <promptRight1
# my commands are written here
I expect this:
promptleft1>promptLeft2> # my commands are written here <promptRight1
look at ZSH's implementation of powerline
As far as I know, putting anything on the right side cannot work with PowerShell's readline, because it rewrites the whole line after the prompt...
It's OK. You can close the issue. I don't use powerline anymore.
This commit fixes right-aligned blocks in order to be closer to the unix shell implementation of Powerline.
Instead of adding a newline:
more details : ANSI_escape_code#Terminal_output_sequences