Writing to /dev/vga hides the cursor until a write to /dev/tty.
This commit is contained in:
parent
4f3a7230b0
commit
cd936886e6
|
@ -86,6 +86,7 @@ namespace Sortix
|
||||||
if ( VGA::VGA_SIZE - offset < count ) { count = VGA::VGA_SIZE - offset; }
|
if ( VGA::VGA_SIZE - offset < count ) { count = VGA::VGA_SIZE - offset; }
|
||||||
Maxsi::Memory::Copy(VGA::VGA + offset, src, count);
|
Maxsi::Memory::Copy(VGA::VGA + offset, src, count);
|
||||||
offset = (offset + count) % VGA::VGA_SIZE;
|
offset = (offset + count) % VGA::VGA_SIZE;
|
||||||
|
VGA::SetCursor(VGA::WIDTH, VGA::HEIGHT-1);
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue