mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +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:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user