Skip to content

NexCreep/EZInput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EZInput - For user keyboard input ⌨️

About

EZInput is a library that implements an easy and fast way to take user input from terminal.

Use

1.- You must add this to your cargo.toml, in dependencies section

keyezinput = "0.1.3"

2.- And finally implements in your code like this:

use keyezinput;

fn main(){
    let input: String = keyezinput::input::input_line("Foo input: ");

    println!("Foo output: {}", input);
}

The output would be like this:

Foo input: bar keyboard
Foo output: bar keyboard

Change Log

[v0.1.3 - 22.03]

  • Patched user input that have extra chars that difficulties the parse to another type

I hope you liked ❤️

Special greeting to you, that watch this repo 😄

About

Rust library that facilitates ask a keyboard user input ⌨️

Topics

Resources

License

Stars

Watchers

Forks

Languages