Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ setfont
Function
setfont
src/graphics/vga/mod.rs:808–814 ·
view source on GitHub ↗
Set font
(font: &Font)
Source
from the content-addressed store, hash-verified
806
807
// Set font
808
pub fn setfont(font: &Font)
809
{
810
interrupts::without_interrupts(||
811
{
812
WRITER.lock().setfont(font);
813
})
814
}
815
816
817
// Set palette
Callers
nothing calls this directly
Calls
2
setfont
Method · 0.80
lock
Method · 0.80
Tested by
no test coverage detected