diff options
Diffstat (limited to 'src/mode.rs')
-rw-r--r-- | src/mode.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mode.rs b/src/mode.rs index abd485a..f50243d 100644 --- a/src/mode.rs +++ b/src/mode.rs @@ -79,6 +79,8 @@ pub enum InputSimple { SetNvimAddr, /// Input a password (chars a replaced by *) Password(PasswordKind, BlockDeviceAction, PasswordUsage), + /// Shell command execute as is + Shell, } /// Different modes in which we display a bunch of possible destinations. @@ -141,6 +143,7 @@ impl fmt::Display for Mode { Mode::InputSimple(InputSimple::Newdir) => write!(f, "Newdir: "), Mode::InputSimple(InputSimple::RegexMatch) => write!(f, "Regex: "), Mode::InputSimple(InputSimple::SetNvimAddr) => write!(f, "Neovim: "), + Mode::InputSimple(InputSimple::Shell) => write!(f, "Shell: "), Mode::InputSimple(InputSimple::Sort) => { write!(f, "Sort: Kind Name Modif Size Ext Rev :") } |