mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 23:46:41 +02:00
Update prompt label
This commit is contained in:
parent
5f9a32f2c6
commit
e07c282877
1 changed files with 3 additions and 3 deletions
|
@ -571,9 +571,9 @@ impl TaskwarriorTuiApp {
|
|||
}
|
||||
AppMode::TaskDeletePrompt => {
|
||||
let label = if task_ids.len() > 1 {
|
||||
format!("Delete Tasks `{}`?", task_ids.join(","))
|
||||
format!("Delete Tasks {}?", task_ids.join(","))
|
||||
} else {
|
||||
format!("Delete Task `{}`?", task_ids.join(","))
|
||||
format!("Delete Task {}?", task_ids.join(","))
|
||||
};
|
||||
let x = match self.keyconfig.delete {
|
||||
Key::Char(c) => c.to_string(),
|
||||
|
@ -587,7 +587,7 @@ impl TaskwarriorTuiApp {
|
|||
f,
|
||||
rects[1],
|
||||
&format!("Press <{}> to confirm or <{}> to abort.", x, q),
|
||||
label,
|
||||
Span::styled(label, Style::default().add_modifier(Modifier::BOLD)),
|
||||
0,
|
||||
false,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue