mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-26 03:07:18 +02:00
Add task details scroll
This commit is contained in:
parent
d8be829dea
commit
4682fe76b0
4 changed files with 36 additions and 9 deletions
|
@ -254,14 +254,14 @@ impl TaskReportTable {
|
|||
},
|
||||
"description.count" => {
|
||||
let c = match task.annotations() {
|
||||
Some(a) => format!("[{}]", a.iter().count()),
|
||||
Some(a) => format!("[{}]", a.len()),
|
||||
None => format!(""),
|
||||
};
|
||||
format!("{} {}", task.description().to_string(), c)
|
||||
}
|
||||
"description.truncated_count" => {
|
||||
let c = match task.annotations() {
|
||||
Some(a) => format!(" [{}]", a.iter().count()),
|
||||
Some(a) => format!(" [{}]", a.len()),
|
||||
None => format!(""),
|
||||
};
|
||||
let mut d = task.description().to_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue