feat: Add recur to autocomplete options (#560)

This commit is contained in:
Dheepak Krishnamurthy 2024-05-12 03:48:39 -04:00 committed by GitHub
commit 542e55c872
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}
@ -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));
}