From cd936886e6624208f883bd7b5683123792c4a674 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 27 Nov 2011 12:03:33 +0100 Subject: [PATCH] Writing to /dev/vga hides the cursor until a write to /dev/tty. --- sortix/vga.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sortix/vga.cpp b/sortix/vga.cpp index a069c714..37147088 100644 --- a/sortix/vga.cpp +++ b/sortix/vga.cpp @@ -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; }