Fixed precmd so the escape sequences don't show up in non-Emacs terminals.