mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Writing to /dev/vga hides the cursor until a write to /dev/tty.
This commit is contained in:
parent
4f3a7230b0
commit
cd936886e6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue