mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
rustfmt
This commit is contained in:
parent
b13df9054e
commit
584b6d10f8
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ Please replace e.g. `shell` with `shell --interactive`, `shell "my-template"` wi
|
||||||
|
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
if !opt.confirm || opt.run.is_empty() {
|
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 {
|
match result.recv().await {
|
||||||
Some(Ok(e)) => opt.run = e,
|
Some(Ok(e)) => opt.run = e,
|
||||||
_ => return,
|
_ => return,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue