Struct rustyline::config::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
Configuration builder
Implementations
Set the maximum length 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.
Set completion_type
.
The number of possible completions that determines when the user is asked whether the list of possibilities should be displayed.
Timeout for ambiguous key sequences in milliseconds.
Currently, it is used only to distinguish a single ESC from an ESC
sequence.
After seeing an ESC key, wait at most keyseq_timeout_ms
for another
byte.
Tell if lines are automatically added to the history.
By default, they are not.
Set bell style: beep, flash or nothing.
Forces colorization on or off.
By default, colorization is on except if stdout is not a TTY.
Whether to use stdout or stderr.
Be default, use stdout
Trait Implementations
Config
accessor.
Set the maximum length for the history.
Tell if lines which match the previous history entry are saved or not in the history list. Read more
Tell if lines which begin with a space character are saved or not in the history list. Read more
Set completion_type
.
The number of possible completions that determines when the user is asked whether the list of possibilities should be displayed. Read more
Timeout for ambiguous key sequences in milliseconds.
Choose between Emacs or Vi mode.
Tell if lines are automatically added to the history. Read more
Set bell style: beep, flash or nothing.
Forces colorization on or off. Read more
Whether to use stdout or stderr Read more
Horizontal space taken by a tab. Read more
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more