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

Method cpos_set

src/graphics/vga/mod.rs:191–195  ·  view source on GitHub ↗

Set cursor position

(&mut self, x: usize, y: usize)

Source from the content-addressed store, hash-verified

189
190 // Set cursor position
191 fn cpos_set(&mut self, x: usize, y: usize)
192 {
193 self.cur = [x, y];
194 self.cur_write();
195 }
196
197
198 // Hide cursor

Callers 2

csi_dispatchMethod · 0.80
write_strMethod · 0.80

Calls 1

cur_writeMethod · 0.80

Tested by

no test coverage detected