Fix the issue when it was impossible to type anywhere but at the end of the prompt.
Fix the issue when it was impossible to type anywhere but at the end of the prompt.

railsware/upterm,black-screen/black-screen,j-allard/black-screen,drew-gross/black-screen,black-screen/black-screen,black-screen/black-screen,railsware/upterm,j-allard/black-screen,vshatskyi/black-screen,shockone/black-screen,vshatskyi/black-screen,vshatskyi/black-screen,shockone/black-screen,drew-gross/black-screen,vshatskyi/black-screen,drew-gross/black-screen,drew-gross/black-screen,j-allard/black-screen