mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-18 22:31:35 +03:00
fix: tasks number format (#26)
This commit is contained in:
parent
dadc408a8e
commit
badcf99416
@ -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…
Reference in New Issue
Block a user