vaaaaanquish / xontrib-powerline2

Powerline for Xonsh shell
MIT License
35 stars 6 forks source link

#13 Fix problem with weird character on multiline prompt #14

Closed spothound closed 3 years ago

spothound commented 3 years ago

Closes https://github.com/vaaaaanquish/xontrib-powerline2/issues/13

Hello there,

While using powerline2 I've experienced that the multiline used symbol looks pretty bad in some terminal emulators, for example in terminator.

marcoesposito1988 commented 3 years ago

Hi @grg121,

I had the same problem, thanks for figuring out the solution!

However, why not leave it configurable by the user? I am just trying out xonsh, but I guess this should do the trick:

$MULTILINE_PROMPT = '»' if 'MULTILINE_PROMPT' not in ${...} else $MULTILINE_PROMPT
spothound commented 3 years ago

Hello @marcoesposito1988

I agree with you, that would be a better approach, right!

Thanks.

vaaaaanquish commented 3 years ago

@grg121 @marcoesposito1988 Thanks for the contribution. LGTM