fix: tasks number format

This commit is contained in:
fzdwx 2023-08-06 18:39:33 +08:00
parent dadc408a8e
commit dc0ef51519

View file

@ -99,7 +99,7 @@ impl Manager {
tokio::spawn(async move {
let result =
emit!(Input(InputOpt::top("There are {tasks} tasks running, sure to quit? (y/N)")));
emit!(Input(InputOpt::top(format!("There are {tasks} tasks running, sure to quit? (y/N)"))));
if let Ok(choice) = result.await {
if choice.to_lowercase() == "y" {