Replaced '\e' on color secuences with '\[\033' to avoid prompt override.