From de02ae4357439bf2bcb21e26446f28fd9ee7112d Mon Sep 17 00:00:00 2001 From: tjex Date: Sat, 14 Dec 2024 19:34:56 +0100 Subject: [PATCH] wip implement unselected dim --- src/app.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 774aa59..cd96a0c 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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);