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: Cow<'static, str>
Prompt sequence to be printed after every newline
newline: Cow<'static, str>
Newline sequence to be used while writing
max_line_length: usize
Maximum size of the line buffer
echo: bool
Echo the typed characters?
newline_key_sequence: NewlineSequence
Input newline key sequence
Trait Implementations
impl Default for PromptBufferOptions
[src]
fn default() -> PromptBufferOptions
[src]
Returns the "default value" for a type. Read more