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

Method locate

std/src/console/trivial.rs:81–89  ·  view source on GitHub ↗
(&mut self, pos: CharsXY)

Source from the content-addressed store, hash-verified

79
80 #[cfg_attr(not(debug_assertions), allow(unused))]
81 fn locate(&mut self, pos: CharsXY) -> io::Result<()> {
82 #[cfg(debug_assertions)]
83 {
84 let size = self.size_chars()?;
85 assert!(pos.x < size.x);
86 assert!(pos.y < size.y);
87 }
88 Ok(())
89 }
90
91 fn move_within_line(&mut self, _off: i16) -> io::Result<()> {
92 Ok(())

Callers 1

execMethod · 0.45

Calls 1

size_charsMethod · 0.45

Tested by

no test coverage detected