I was styling my PS1-Prompt to resemble the iPython-Prompt as:
PS1FIRSTLINE="\[\n\][\t] \[\e[1m\e[38;5;196m\]\u@\H\[\e[0m\] in \[\e[1m\e[38;5;196m\]\w\[\e[0m"
PS1SECONDLINE="\n\e[92m\]In [\[\e[1m\]\#\[\e[0m\]] \$ "
PS1="$PS1FIRSTLINE$PS1SECONDLINE"
However, sometimes i get weird issues like, that the beginning of the last executed command is still there after the prompt and can't be deleted.
I think that it's an issue with my way of escaping the colors with \e[ ... ]
and not something with bash or the suckless-terminal, that i'm using.
Can somebody help me out?