#terminal #lib #east-term

easyterm

Package to easy work with terminal

1 unstable release

0.1.0 Jun 26, 2022

#286 in #lib

25 downloads per month

MPL-2.0 license

4KB
74 lines

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

Dependencies

~470KB