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

Method cur_hide

src/graphics/vga/mod.rs:199–209  ·  view source on GitHub ↗

Hide cursor

(&self)

Source from the content-addressed store, hash-verified

197
198 // Hide cursor
199 fn cur_hide(&self)
200 {
201 let mut address = Port::new(CRTC_ADDRESS_REG);
202 let mut data = Port::new(CRTC_DATA_REG);
203
204 unsafe
205 {
206 address.write(0x0A as u8);
207 data.write(0x20 as u8);
208 }
209 }
210
211
212 // Show cursor

Callers 1

csi_dispatchMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected