Function uquery::string_with_default[][src]

pub fn string_with_default(string: &str, def: Option<String>) -> String

Queries the user for string input with a default.

The user can unset the value by typing a space, otherwise, if no string is specified and a deafult is given the default will be used.