mirror of
https://github.com/sxyazi/yazi.git
synced 2024-09-11 18:38:19 +03:00
rustfmt
This commit is contained in:
parent
b13df9054e
commit
584b6d10f8
@ -61,7 +61,8 @@ Please replace e.g. `shell` with `shell --interactive`, `shell "my-template"` wi
|
||||
|
||||
tokio::spawn(async move {
|
||||
if !opt.confirm || opt.run.is_empty() {
|
||||
let mut result = InputProxy::show(InputCfg::shell(opt.block).with_value(opt.run).with_cursor(cursor));
|
||||
let mut result =
|
||||
InputProxy::show(InputCfg::shell(opt.block).with_value(opt.run).with_cursor(cursor));
|
||||
match result.recv().await {
|
||||
Some(Ok(e)) => opt.run = e,
|
||||
_ => return,
|
||||
|
Loading…
Reference in New Issue
Block a user