diff --git a/src/components/table_filter.rs b/src/components/table_filter.rs index 2b1f436..3e5d182 100644 --- a/src/components/table_filter.rs +++ b/src/components/table_filter.rs @@ -197,9 +197,7 @@ impl Component for TableFilterComponent { // apply comletion candidates if key == self.key_config.enter { - if self.complete()?.is_consumed() { - return Ok(EventState::Consumed); - }; + return self.complete() } self.completion.selected_candidate();