I have configured a fancy two-line PS1 bash prompt, with server name, time, user name and other useful variables.
PS1="\n\[\033[1;34m\]\342\226\210\342\226\210 \u @ $SERVER_NAME""$BBlue"" \w""$Color_Off \n\[\033[0;36m\]\342\226\210\342\226\210 \d \t $ \[\033[0;39m\]"

Full Github source here.
The problem is that long lines are often wrapped around themselves, meaning that the new line overlaps the previous one.
The problem is inconsistent: some lines are wrapped correctly, some are not.
Any idea how to fix this?

