From 5fa6afeff45db915c97e2379a5f2b68a459a66f6 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Sun, 12 May 2024 03:41:46 -0400 Subject: [PATCH 1/2] feat: Add recur to autocomplete options --- src/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.rs b/src/app.rs index 9552eac2..9d84b932 100644 --- a/src/app.rs +++ b/src/app.rs @@ -3593,6 +3593,7 @@ impl TaskwarriorTui { "scheduled:".to_string(), "wait:".to_string(), "depends:".to_string(), + "recur:".to_string(), ] { self.completion_list.insert(("attribute".to_string(), s)); } From bf889c75c1bfd92ae839c9f6bec08eded8b9d9b0 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Sun, 12 May 2024 03:47:22 -0400 Subject: [PATCH 2/2] chore: fix clippy issues --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 9d84b932..7c860a71 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1273,9 +1273,9 @@ impl TaskwarriorTui { if tasks.iter().len() as u16 > rect.height.saturating_sub(4) { let mut widget = Scrollbar::new(pos, tasks.iter().len()); widget.pos_style = self.config.uda_style_report_scrollbar; - widget.pos_symbol = self.config.uda_scrollbar_indicator.clone(); + widget.pos_symbol.clone_from(&self.config.uda_scrollbar_indicator); widget.area_style = self.config.uda_style_report_scrollbar_area; - widget.area_symbol = self.config.uda_scrollbar_area.clone(); + widget.area_symbol.clone_from(&self.config.uda_scrollbar_area); f.render_widget(widget, rect); } }