aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md1
-rw-r--r--packages/finder/main.py13
2 files changed, 8 insertions, 6 deletions
diff --git a/TODO.md b/TODO.md
index c7472f8..04e66eb 100644
--- a/TODO.md
+++ b/TODO.md
@@ -43,6 +43,7 @@
## Config
* [ ] Refresh interval.
+* [ ] Terminal size polling 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 8eac990..754b54f 100644
--- a/packages/finder/main.py
+++ b/packages/finder/main.py
@@ -182,12 +182,13 @@ 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,
- refresh_interval = 5,
+ 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,
+ terminal_size_polling_interval = 5,
)
async with asyncio.TaskGroup() as tg: