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

Method write

std/src/console/pager.rs:110–116  ·  view source on GitHub ↗

Writes the text into the console at the position of the cursor.

(&mut self, text: &str)

Source from the content-addressed store, hash-verified

108 /// Writes the text into the console at the position of the cursor.
109 ///
110 pub(crate) fn write(&mut self, text: &str) -> io::Result<()> {
111 self.console.write(text)?;
112 if self.console.is_interactive() {
113 self.cur_columns += text.len();
114 }
115 Ok(())
116 }
117}
118
119#[cfg(test)]

Callers 10

describeMethod · 0.45
summaryMethod · 0.45
execMethod · 0.45
redraw_lineMethod · 0.45
erase_atMethod · 0.45
do_charMethod · 0.45
newMethod · 0.45
putMethod · 0.45
write_fileFunction · 0.45

Calls 2

is_interactiveMethod · 0.45
lenMethod · 0.45

Tested by 1