17ea97332b2f2285e3c2e1a00f6745fb1fe1cec5

Author
Marc Cornellà <hello@mcornella.com>
Committer
Marc Cornellà <hello@mcornella.com>
Date

Message

Revert "fix(lib): send carriage return after `title` to fix #11314 (#11315)"

This reverts commit 3dd83a22a160249a71631a51490fd3b89d1b3975.

See https://github.com/ohmyzsh/ohmyzsh/issues/11314#issuecomment-1379492472

Diff

 1diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
 2index fc1cde55e38f0388be699e411e33fa56b643376d..80ca7ef78fe64fd57359ae258026fb9841749117 100644
 3--- a/lib/termsupport.zsh
 4+++ b/lib/termsupport.zsh
 5@@ -36,8 +36,6 @@ function title {
 6       fi
 7       ;;
 8   esac
 9-
10-  print -Pn "\r" # move the cursor to the beginning of the line
11 }
12 
13 ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD