Skip to main content

vga_debug_write

Function vga_debug_write 

Source
pub fn vga_debug_write(s: &str)
Expand description

Write a string directly to the VGA framebuffer in real time.

Each character cell is cleared before drawing, preventing ghosting from scrolling or rapid updates. Colours are high-contrast (light grey on dark navy : similar to Linux fbcon and FreeBSD vt(4)).

Newlines, carriage-returns, and tab stops are handled. When the cursor reaches the bottom of the debug area, the content scrolls up one line.