macro_rules! msg_line {
() => { ... };
($($arg:tt)*) => { ... };
}Expand description
Use printfl! macro then call get_line function.
This is useful if you want to get a string
after you print some message at the same line.
use cmasfo_dev::*;
println!("What is your favorite color?");
let s = msg_line!("> ");Then the terminal will be shown like folling:
What is your favorite color?
> orange