Function prompt
Source pub fn prompt(message: &str) -> String
Expand description
Reads a single line of input, while providing a message that comes on the same line.
§Example
use simple_std::prompt;
let name = prompt("Your name: ");
println!("Hello {}!", name)
§Why is this not in std?
see input