Crate for logging text that should stay in the same place in a console. This measures words to handle wrapping and has some console resizing support. Example use might be for displaying progress bars or rendering selections.
Example use with the console crate:
```rs use consolestatictext::ConsoleSize; use consolestatictext::ConsoleStaticText;
let mut static_text = ConsoleStaticText::new(|| { let size = console::Term::stderr().size(); ConsoleSize { rows: Some(size.0), cols: Some(size.1), } });
statictext.eprint("initial\ntext"); // will clear the previous text and put this new text statictext.eprint("new text");
// or get and output the text manually if let Some(text) = static_text.render("new text") { eprint!("{}", text); }
// clear out the previous text statictext.eprintclear();
// todo: document hanging indent support ```