Crate alternate_buffer[][src]

Alternate screen buffer

Read question on StackOverflow

// open alternate buffer
alternate_buffer::show();
println!("That text in alternate buffer");

std::thread::sleep_ms(1000);

alternate_buffer::hide();
println!("That text in main buffer");

Functions

hide

Immediatly open main screen in current terminal session

show

Immediatly open alternate screen in current terminal session