Struct reedline::DefaultPrompt [−][src]
pub struct DefaultPrompt { /* fields omitted */ }
Expand description
Simple two-line Prompt
displaying the current working directory and the time above the entry line.
Implementations
Constructor for the default prompt, which takes the amount of spaces required between the left and right-hand sides of the prompt
Trait Implementations
Provide content off the full prompt. May use a line above the entry buffer that fits into screen_width
.
Render the default prompt indicator
Render the default prompt indicator
fn render_prompt_history_search_indicator(
&self,
history_search: PromptHistorySearch
) -> Cow<'_, str>
fn render_prompt_history_search_indicator(
&self,
history_search: PromptHistorySearch
) -> Cow<'_, str>
Render the default prompt indicator
Render the vi insert mode prompt indicator Get back the prompt color Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultPrompt
impl Send for DefaultPrompt
impl Sync for DefaultPrompt
impl Unpin for DefaultPrompt
impl UnwindSafe for DefaultPrompt
Blanket Implementations
Mutably borrows from an owned value. Read more