When I use the terminal command on macOS, the cursor is always left at left margin of the window. I think there must a problem with the prompt ending in a CR or the .zshrc file might be in the wrong format. The prompt I think I am using is
PS1="\T \W: "
My .zshrc is
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$HOME/development/flutter/bin
# export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:
alias ll="ls -alo"
alias lsa="ls -alo"
alias l="ls -lcoStG"
alias lsd="ls -dl"
alias lsdm="ls -lt"
alias edab="open ~/.zshrc"
alias bsz="source ~/.zshrc"
alias lab="cat /Users/steve/.bashrc"
#git stuff
alias gs="git status"
alias gc="git commit -m "
alias ga="git add -A"
alias gl="git log"
PS1="\T \W: "