summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/termsupport.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
index 80ca7ef78..fc1cde55e 100644
--- a/lib/termsupport.zsh
+++ b/lib/termsupport.zsh
@@ -36,6 +36,8 @@ function title {
fi
;;
esac
+
+ print -Pn "\r" # move the cursor to the beginning of the line
}
ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD