Skip to content

Commit

Permalink
wip implement unselected dim
Browse files Browse the repository at this point in the history
  • Loading branch information
tjex committed Dec 14, 2024
1 parent a4c96f6 commit de02ae4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1227,8 +1227,9 @@ impl TaskwarriorTui {
if self.config.uda_selection_reverse {
highlight_style = highlight_style.add_modifier(Modifier::REVERSED);
}
} else {
// act on unselected items
}
// act on unselected items
if i != selected {
highlight_style = style.patch(self.config.uda_style_report_unselected);
if self.config.uda_unselected_dim {
highlight_style = highlight_style.add_modifier(Modifier::DIM);
Expand Down

0 comments on commit de02ae4

Please sign in to comment.