I am using TMUX and bash and whenever I press up arrow to see old commands, after a few commands (around 5) some 9 character doesn't stick and stay unless I clear my console. It's very annoying. I have uploaded GIF and highlighted problem. Any help? 
Stale characters in bash command after using up arrow
bash;command history;prompt