Fix "command not found: add-zsh-hook" since #3053 removes `autoload -U add-zsh-hook`
if the length of the prompt (excluding color escapes) exceeds 40 characters, emit the arrow prompt on its own line This helps a lot on smaller terminals