summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
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()?;