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.
pull/411/head
romkatv 5 years ago
parent e72c6b9338
commit fa665ae4a7

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

Loading…
Cancel
Save