Struct rustyline::config::Builder
[−]
[src]
pub struct Builder { /* fields omitted */ }
Methods
impl Builder
[src]
fn new() -> Builder
fn max_history_size(self, max_size: usize) -> Builder
Set the maximum length for the history.
fn history_ignore_dups(self, yes: bool) -> Builder
Tell if lines which match the previous history entry are saved or not in the history list. By default, they are ignored.
fn history_ignore_space(self, yes: bool) -> Builder
Tell if lines which begin with a space character are saved or not in the history list. By default, they are saved.
fn completion_type(self, completion_type: CompletionType) -> Builder
Set completion_type
.
fn completion_prompt_limit(self, completion_prompt_limit: usize) -> Builder
fn keyseq_timeout(self, keyseq_timeout_ms: i32) -> Builder
Set keyseq_timeout
in milliseconds.