Writing to /dev/vga hides the cursor until a write to /dev/tty.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-11-27 12:03:33 +01:00
parent 4f3a7230b0
commit cd936886e6
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ namespace Sortix
if ( VGA::VGA_SIZE - offset < count ) { count = VGA::VGA_SIZE - offset; }
Maxsi::Memory::Copy(VGA::VGA + offset, src, count);
offset = (offset + count) % VGA::VGA_SIZE;
VGA::SetCursor(VGA::WIDTH, VGA::HEIGHT-1);
return count;
}