[−][src]Function endbasic_core::console::read_line
pub async fn read_line(
console: &mut dyn Console,
prompt: &str,
previous: &str
) -> Result<String>
Reads a line from the console. If the console is interactive, this does fancy line editing and
uses the given prompt
and pre-fills the input with previous
.