Fix the issue when the cursor was not displayed on empty rows.
Fix the issue when the cursor was not displayed on empty rows.

vshatskyi/black-screen,vshatskyi/black-screen,vshatskyi/black-screen,shockone/black-screen,black-screen/black-screen,shockone/black-screen,black-screen/black-screen,railsware/upterm,vshatskyi/black-screen,railsware/upterm,black-screen/black-screen