diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2024-01-23 15:49:06 +0100 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2024-01-23 15:49:06 +0100 |
commit | d837d720e3b1e204043b8d89447db0d65ae000ba (patch) | |
tree | c097091966e2af1b00916ff6e70d49ee4362b532 /src/main.rs | |
parent | 600bee234edd4e7922017c26927a6f135a02c335 (diff) | |
parent | 78b9a8e22568c902132ed98d32e223ff71eb7b06 (diff) |
Merge branch 'no-entry-check'
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 787d28e..fe8bd9a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,7 +62,10 @@ fn main() -> Result<()> { let res = match opt.command { #[cfg(feature = "tui-crossplatform")] - Some(Interactive { input }) => { + Some(Interactive { + no_entry_check, + input, + }) => { use anyhow::{anyhow, Context}; use crosstermion::terminal::{tui::new_terminal, AlternateRawScreen}; @@ -81,6 +84,7 @@ fn main() -> Result<()> { &mut terminal, walk_options, byte_format, + !no_entry_check, extract_paths_maybe_set_cwd(input, !opt.stay_on_filesystem)?, )?; app.traverse()?; |