Cargo.toml ``` toml alternate_screen_wraper = { version = "", features = "crossterm" } # or other backand ``` main.rs ``` rust fn main() { let alternate_screen = alternater_screen_wrapper::AlternateScreen::enter(); // ..do some work let printable = // do other work // drop(alternate_screen); println!("{printable}"); // it works } ``` You can don't call drop manually. It will be dropped automatically when you exiting scope or panicing.