Struct mcfly::interface::SelectionResult [−][src]
pub struct SelectionResult {
pub run: bool,
pub selection: Option<String>,
pub delete_requests: Vec<String>,
}
Fields
run: bool
Whether the user requested to run the resulting command immediately.
selection: Option<String>
The command string the user selected, if any.
delete_requests: Vec<String>
Commands the user has requested be deleted from shell history.