bash prompt in
PS1=' \e[1;32m\u@\h\e[1;34m\W\e[1;33m\$ \e[m'
Of late, when my command line is long, instead of continuing to terminal width and wrapping around with a newline on to the next line, the text jumps back to the bash prompt on the current line, overwriting it, and then continues and wraps as it normally would.
I am also unable to use previous commands and change them for re-use because the cursor moves one line above the current one.
I thought it might be because of my prompt: so I have given it above.
Kindly suggest how to investigate further.