aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md1
-rw-r--r--packages/finder/main.py11
2 files changed, 7 insertions, 5 deletions
diff --git a/TODO.md b/TODO.md
index dceb0bc..c7472f8 100644
--- a/TODO.md
+++ b/TODO.md
@@ -42,6 +42,7 @@
## Config
+* [ ] Refresh interval.
* [ ] Plugins to load.
* [ ] Autodetection depending on file or dir passed as argument (like
automatically detects a CSV file).
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: