mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 05:26:42 +02:00
feat: Add recur to autocomplete options (#560)
This commit is contained in:
commit
542e55c872
1 changed files with 3 additions and 2 deletions
|
@ -1273,9 +1273,9 @@ impl TaskwarriorTui {
|
||||||
if tasks.iter().len() as u16 > rect.height.saturating_sub(4) {
|
if tasks.iter().len() as u16 > rect.height.saturating_sub(4) {
|
||||||
let mut widget = Scrollbar::new(pos, tasks.iter().len());
|
let mut widget = Scrollbar::new(pos, tasks.iter().len());
|
||||||
widget.pos_style = self.config.uda_style_report_scrollbar;
|
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_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);
|
f.render_widget(widget, rect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3593,6 +3593,7 @@ impl TaskwarriorTui {
|
||||||
"scheduled:".to_string(),
|
"scheduled:".to_string(),
|
||||||
"wait:".to_string(),
|
"wait:".to_string(),
|
||||||
"depends:".to_string(),
|
"depends:".to_string(),
|
||||||
|
"recur:".to_string(),
|
||||||
] {
|
] {
|
||||||
self.completion_list.insert(("attribute".to_string(), s));
|
self.completion_list.insert(("attribute".to_string(), s));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue