Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ clr_screen
Method
clr_screen
src/graphics/vga/mod.rs:155–161 ·
view source on GitHub ↗
Clear the screen
(&mut self)
Source
from the content-addressed store, hash-verified
153
154
// Clear the screen
155
fn clr_screen(&mut self)
156
{
157
for y in 0..BUFFH
158
{
159
self.clr_next_row(0, y);
160
}
161
}
162
163
// Color
164
pub fn color(&self) -> (Color, Color)
Callers
2
csi_dispatch
Method · 0.80
init
Function · 0.80
Calls
1
clr_next_row
Method · 0.80
Tested by
no test coverage detected