mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: cannot cd if there is whitespace in path (#255)
This commit is contained in:
parent
cdd20f8510
commit
ec29ee5d92
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ impl Tab {
|
|||
emit!(Input(InputOpt::top("Change directory:").with_value(target.to_string_lossy())));
|
||||
|
||||
if let Some(Ok(s)) = result.recv().await {
|
||||
emit!(Cd(Url::from(s)));
|
||||
emit!(Cd(Url::from(s.trim())));
|
||||
}
|
||||
});
|
||||
false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue