Colored bash-prompt garbeld after recall commands

bash

#1

hello
when I change my bash-prompt in a collored version and I use recall commands with arrow-keys
then after a few commands the prompt garbeld recalled cmd stays visible after prompt.
When I remove the collored code , everything works fine .
any suggestion ?


#2

Can you paste your PS1 prompt?

echo "$PS1"

#3

this is the prompt I use

PS1="\e[0;33m[\u@\h]\\$> \e[m"