mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +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:
parent
e72c6b9338
commit
fa665ae4a7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue