mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: tasks number format (#26)
This commit is contained in:
parent
dadc408a8e
commit
badcf99416
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ impl Manager {
|
||||||
|
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
let result =
|
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 let Ok(choice) = result.await {
|
||||||
if choice.to_lowercase() == "y" {
|
if choice.to_lowercase() == "y" {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue