This commit is contained in:
HE7086 2024-08-06 15:02:51 +02:00
parent b13df9054e
commit 584b6d10f8
No known key found for this signature in database
GPG Key ID: 91869A806C6DB6CD

View File

@ -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,