From ad0b0e0ae6cf07b86564c8646fcbede4c57d3e32 Mon Sep 17 00:00:00 2001 From: Nguyen Duc Toan Date: Fri, 15 Dec 2023 02:35:15 +0700 Subject: [PATCH] blank cd --interactive --- yazi-core/src/tab/commands/cd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-core/src/tab/commands/cd.rs b/yazi-core/src/tab/commands/cd.rs index c4e3f40b..d40b3d64 100644 --- a/yazi-core/src/tab/commands/cd.rs +++ b/yazi-core/src/tab/commands/cd.rs @@ -72,7 +72,7 @@ impl Tab { let opt = opt.into() as Opt; tokio::spawn(async move { - let rx = Input::_show(InputCfg::cd().with_value(opt.target.to_string_lossy())); + let rx = Input::_show(InputCfg::cd().with_value("")); let rx = Debounce::new(UnboundedReceiverStream::new(rx), Duration::from_millis(50)); pin!(rx);