MCPcopy Index your code
hub / github.com/endbasic/endbasic / show_cursor

Method show_cursor

std/src/console/graphics.rs:661–670  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

659 }
660
661 fn show_cursor(&mut self) -> io::Result<()> {
662 if !self.cursor_visible {
663 self.cursor_visible = true;
664 if let Err(e) = self.draw_cursor() {
665 self.cursor_visible = false;
666 return Err(e);
667 }
668 }
669 self.present_canvas()
670 }
671
672 fn size_chars(&self) -> io::Result<CharsXY> {
673 Ok(self.size_chars)

Callers

nothing calls this directly

Calls 2

draw_cursorMethod · 0.80
present_canvasMethod · 0.45

Tested by

no test coverage detected