diff --git a/yazi-core/src/manager/commands/quit.rs b/yazi-core/src/manager/commands/quit.rs index 5744c0e5..d2691f2f 100644 --- a/yazi-core/src/manager/commands/quit.rs +++ b/yazi-core/src/manager/commands/quit.rs @@ -35,9 +35,9 @@ impl Manager { let mut result = InputProxy::show(InputCfg::quit(left)); loop { select! { - _ = time::sleep(Duration::from_millis(50)) => { + _ = time::sleep(Duration::from_millis(100)) => { i += 1; - if i > 50 { break } + if i > 30 { break } else if ongoing.lock().len() == 0 { emit!(Quit(opt)); return;