Module extra::rl

Modules

rustrt

Traits

CompletionCb

The callback used to perform completions.

Functions

add_history

Add a line to history

complete

Bind to the main completion callback in the current task.

load_history

Load line history from a file

read

Print out a prompt and then wait for input and return it

save_history

Save line history to a file

set_history_max_len

Set the maximum amount of lines stored