apsun / loliOS

Lightweight & operational Linux-inspired OS.
33 stars 1 forks source link

VGA cursor sometimes not displaying #4

Closed apsun closed 7 years ago

apsun commented 7 years ago

When typing on the last line of the terminal or on the second/third terminal screens, the cursor disappears. It comes back if you type some characters and then delete them with backspace.

apsun commented 7 years ago

Fixed in r9659. Turns out that we can't just memset the VGA memory to all zeros, since the attrib/char (not sure which, maybe both) also affects the visibility of the cursor. Instead we now memset empty regions to ' ' + ATTRIB.