Struct rustyline::config::Config [−][src]
pub struct Config { /* fields omitted */ }
Expand description
User preferences
Implementations
Tell the maximum length (i.e. number of entries) for the history.
Tell if lines which match the previous history entry are saved or not in the history list.
By default, they are ignored.
Tell if lines which begin with a space character are saved or not in the history list.
By default, they are saved.
Completion behaviour.
By default, CompletionType::Circular
.
When listing completion alternatives, only display
one screen of possibilities at a time (used for CompletionType::List
mode).
Duration (milliseconds) Rustyline will wait for a character when
reading an ambiguous key sequence (used for EditMode::Vi
mode on unix
platform).
By default, no timeout (-1) or 500ms if EditMode::Vi
is activated.
Tell if lines are automatically added to the history.
By default, they are not.
Bell style: beep, flash or nothing.
Tell if colors should be enabled.
By default, they are except if stdout is not a TTY.
Tell which output stream should be used: stdout or stderr.
By default, stdout is used.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more