From d281a004bb6415945028d6bd1bdd8bc50be3077d Mon Sep 17 00:00:00 2001 From: sxyazi Date: Fri, 3 May 2024 23:51:01 +0800 Subject: [PATCH] .. --- yazi-core/src/manager/commands/quit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;