| Crates.io | easyterm |
| lib.rs | easyterm |
| version | 0.1.0 |
| created_at | 2022-06-26 20:34:25.646486+00 |
| updated_at | 2022-06-26 20:34:25.646486+00 |
| description | Package to easy work with terminal |
| homepage | https://github.com/XmasApple/easyterm |
| repository | https://github.com/XmasApple/easyterm |
| max_upload_size | |
| id | 613694 |
| size | 3,637 |
[dependencies]
easyterm = "0.1.0"
and add this to your lib.rs or main.rs:
use easyterm::EasyTerm;
fn main() {
EasyTerm::set_cursor_invisible();
EasyTerm::clear_screen();
EasyTerm::set_cursor_top_left();
println!("Text at top left corner in absolutely clear terminal");
EastTerm::move_cursor_down_by(n: 2);
println!("Text 2 lines below")
}