MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / setcolor

Function setcolor

src/graphics/vga/mod.rs:798–804  ·  view source on GitHub ↗

Set color

(fg: Color, bg: Color)

Source from the content-addressed store, hash-verified

796
797// Set color
798pub fn setcolor(fg: Color, bg: Color)
799{
800 interrupts::without_interrupts(||
801 {
802 WRITER.lock().color_set(fg, bg)
803 })
804}
805
806
807// Set font

Callers

nothing calls this directly

Calls 2

color_setMethod · 0.80
lockMethod · 0.80

Tested by

no test coverage detected