broot 1.56.2

File browser and launcher
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::verb::Verb;

/// This rather vague enum might be precised or removed. It
///  serves today to characterize whether a verb execution
///  comes from the input or not (in this case the input is
///  consumed and cleared when the verb is executed).
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum TriggerType<'v> {
    /// the verb was typed in the input and user has hit enter.
    Input(&'v Verb),
    /// probably a key shortcut
    Other,
}