Struct terminal_cli::PromptBufferOptions [] [src]

pub struct PromptBufferOptions {
    pub prompt: Cow<'static, str>,
    pub newline: Cow<'static, str>,
    pub max_line_length: usize,
    pub echo: bool,
    pub newline_key_sequence: NewlineSequence,
}

Options for the prompt buffer

Fields

Prompt sequence to be printed after every newline

Newline sequence to be used while writing

Maximum size of the line buffer

Echo the typed characters?

Input newline key sequence

Trait Implementations

impl Default for PromptBufferOptions
[src]

[src]

Returns the "default value" for a type. Read more