alternate_buffer 0.1.0

Open alternate screen buffer in terminal session
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented1 out of 3 items with examples
  • Size
  • Source code size: 2.04 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.08 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • sergeysova/alternate_buffer.rs
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sergeysova

Alternate screen buffer

Read question on StackOverflow

# extern crate alternate_buffer;
# use std;

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