Skip to content

kumavale/getch-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getch-rs

Actions Status Crates.io Documentation License

getch for Windows and Unix.

Usage

Cargo.toml

[dependencies]
getch-rs = "0.2"

main.rs

use getch_rs::Getch;

fn main() {
    let g = Getch::new();

    if let Ok(key) = g.getch() {
        println!("{:?}", key);
    }
}

Examples

$ cargo run --example getch

Contributing

This project welcomes your PR and issues. For example, fixing bugs, adding features, refactoring, etc.

About

`getch` for Windows and Unix.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages