You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, been using powerline for some years now, so thanks for your work, but I found a bug today while making some scripts which use piped stdin to operate on. In my scripts powerline doesn't have issue with whole formatted strings being passed through a pipe to my script, but it does have a problem with a good file reference, in quotes. Also I can reproduce the issue by doing :
echo "some string" | echo # not a general use case for echo, but it breaks powerline none the less
the renderer fails to post a prompt after that, but typing in break, or any kind of text (empty strings don't work) then pressing enter seems to snap it out of that bad state, and the renderer comes back to life.
If I get time I will work on a pull request, but this behavior is not exhibited by a standard zsh shell. The bash version does not have this issue.
*zsh = 5.9 ... Also, <lambda> should be between invalid and value, but github doesn't like this.
The text was updated successfully, but these errors were encountered:
hello, been using powerline for some years now, so thanks for your work, but I found a bug today while making some scripts which use piped stdin to operate on. In my scripts powerline doesn't have issue with whole formatted strings being passed through a pipe to my script, but it does have a problem with a good file reference, in quotes. Also I can reproduce the issue by doing :
echo "some string" | echo # not a general use case for echo, but it breaks powerline none the less
the error I get is :
usage: powerline-render [-h] [-r MODULE] [-w WIDTH] [--last-exit-code INT]
[--last-pipe-status LIST] [--jobnum INT]
[-c KEY.KEY=VALUE] [-t THEME.KEY.KEY=VALUE]
[-R KEY=VAL] [-p PATH] [--socket ADDRESS]
ext {left,right,above,aboveleft}
powerline-render: error: argument --last-pipe-status: invalid value: '0s0'
usage: powerline-render [-h] [-r MODULE] [-w WIDTH] [--last-exit-code INT]
[--last-pipe-status LIST] [--jobnum INT]
[-c KEY.KEY=VALUE] [-t THEME.KEY.KEY=VALUE]
[-R KEY=VAL] [-p PATH] [--socket ADDRESS]
ext {left,right,above,aboveleft}
powerline-render: error: argument --last-pipe-status: invalid value: '0s0'
the renderer fails to post a prompt after that, but typing in break, or any kind of text (empty strings don't work) then pressing enter seems to snap it out of that bad state, and the renderer comes back to life.
If I get time I will work on a pull request, but this behavior is not exhibited by a standard zsh shell. The bash version does not have this issue.
*zsh = 5.9 ... Also, <lambda> should be between invalid and value, but github doesn't like this.
The text was updated successfully, but these errors were encountered: