1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-24 20:30:44 +00:00

bug fix: don't print an empty line after the ruler

If the visibility of ruler is 'print', there is an extra
empty line printed after it. With 'show' there is no
extra empty line (as expected).

With this commit there is no empty line in either case.

Fixes #383.
This commit is contained in:
romkatv 2019-12-19 16:48:08 +01:00
parent e72c6b9338
commit fa665ae4a7

View file

@ -4283,7 +4283,7 @@ function _p9k_on_expand() {
() {
(( __p9k_ksh_arrays )) && setopt ksh_arrays
(( __p9k_sh_glob )) && setopt sh_glob
print -rP -- $ruler
print -rnP -- $ruler
}
fi
}