-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
use cliclack::{
clear_screen, intro,
log::{info, warning},
};
use console::style;
fn main() -> std::io::Result<()> {
ctrlc::set_handler(move || {}).expect("setting Ctrl-C handler");
clear_screen()?;
intro(style("Break wrap").on_cyan().black())?;
info("Printing \"0\" 200 times")?;
warning(['0'; 200].iter().collect::<String>())?;
Ok(())
}In a project of mine, I have really long text messages I want to print out and the wrapping looks weird
Metadata
Metadata
Assignees
Labels
No labels
