diff options
author | qkzk <qu3nt1n@gmail.com> | 2022-10-28 00:57:59 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2022-10-28 00:57:59 +0200 |
commit | 0d2aa82aba613813842842d539c7b56b3596aac0 (patch) | |
tree | 2913921eb45363211c438f81e392e32543aeb605 /src/mode.rs | |
parent | cb954bc92434e25201e94d2f36ab0d29bbdf4597 (diff) |
filter by name, extension, dir only or no filterfilter
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 55c5afe..67a07a4 100644 --- a/src/mode.rs +++ b/src/mode.rs @@ -45,6 +45,8 @@ pub enum Mode { Shortcut, /// Jump to a saved mark Marks(MarkAction), + /// Filter by ... + Filter, } impl fmt::Debug for Mode { @@ -67,6 +69,7 @@ impl fmt::Debug for Mode { Mode::Preview => write!(f, "Preview : "), Mode::Shortcut => write!(f, "Shortcut :"), Mode::Marks(_) => write!(f, "Marks jump:"), + Mode::Filter => write!(f, "Filter: "), } } } |