Skip to main content

accept_next_prompt

Function accept_next_prompt 

Source
pub fn accept_next_prompt(raw: &str) -> Option<String>
Expand description

Returns the suggestion to show, or None if the answer is not a usable next prompt: anything accept_line rejects, a question, or a risky command.