[−][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.