macro_rules! set_down {
($n:literal) => { ... };
($n:expr) => { ... };
}Expand description
Moves cursor to the start of line N lines down.
Equivalent to CSI Pn E, known as CNL.
If used with literal, produces &'static str, otherwise produces String.
§Example
use termal_core::codes;
let mut buf = codes::CLEAR.to_string();
buf += "line one";
buf += codes::set_down!(2);
buf += "line two";
println!("{buf}");§Result in terminal
