easyterm

Crates.ioeasyterm
lib.rseasyterm
version0.1.0
sourcesrc
created_at2022-06-26 20:34:25.646486
updated_at2022-06-26 20:34:25.646486
descriptionPackage to easy work with terminal
homepagehttps://github.com/XmasApple/easyterm
repositoryhttps://github.com/XmasApple/easyterm
max_upload_size
id613694
size3,637
(XmasApple)

documentation

README

EasyTerm

Cargo.toml

[dependencies]
easyterm = "0.1.0"

How to use

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")
    }
Commit count: 1

cargo fmt