user prompt:
user - / :
up/down keys to locate historical commands.
user - / : historical command
clear the "historical command" :
user - / :hist
No matter how many times I hit BackSpace.. unable to delete "hist" part.
technically it is not even there. but on the screen it simply wont clear out until I hit "enter"
user - / :hist
user - / :
what causes it ?
The problem is probably due to the colors I used here. but how can It be corrected ?
PS1="\[\033[38;5;190m\]\u - \W : \e[m"