#buffer #screen #terminal #terminal-session

bin+lib alternate_buffer

Open alternate screen buffer in terminal session

1 unstable release

Uses old Rust 2015

0.1.0 Oct 1, 2018

#17 in #terminal-session

MIT license

3KB

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");

No runtime deps