From b0818981dcc90380f6651151bd60b7e0a8253b6f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 24 Jul 2024 09:53:52 -0300 Subject: Feat: refresh interval --- packages/finder/main.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'packages') diff --git a/packages/finder/main.py b/packages/finder/main.py index 0f8d79c..8eac990 100644 --- a/packages/finder/main.py +++ b/packages/finder/main.py @@ -182,11 +182,12 @@ class FinderMain(): # The application self.app = Application( - layout = Layout(self.container, focused_element = self.input_field), - key_bindings = self.keybindings, - style = self.style, - full_screen = True, - editing_mode = EditingMode.VI, + layout = Layout(self.container, focused_element = self.input_field), + key_bindings = self.keybindings, + style = self.style, + full_screen = True, + editing_mode = EditingMode.VI, + refresh_interval = 5, ) async with asyncio.TaskGroup() as tg: -- cgit v1.2.3