[][src]Function winconsole::console::write_output

pub fn write_output(string: &str, column: u16, row: u16) -> WinResult<u32>

Writes characters to the output at a specified position, and returns the number of cells which were written to.

Note that this method writes characters directly to the output buffer (i.e., newline characters do not move output to the next line, but instead write the newline character).

Arguments

Examples

Writes "Hello, world!" on the 10th row starting at the 10th column.

console::write_output("Hello, world!", 10, 10).unwrap();

Errors