summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-09 12:50:13 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-09 12:50:13 +0100
commit47ebd7656057fadb5b627dfc1844bc09dc171ff2 (patch)
tree47eb2797d0206fd02347cceeff7be3c6a97a3d46 /alot/ui.py
parentb190bf2980ce8944bdf2620e2c6442559712fdc2 (diff)
buffers/thread: more sophisticated heuristics for default weights
Should produce better results in most situations.
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/ui.py b/alot/ui.py
index a2602e9d..326b0908 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -811,3 +811,6 @@ class UI:
for line in history:
histfile.write(line)
histfile.write('\n')
+
+ def get_cols_rows(self):
+ return self.mainloop.screen.get_cols_rows()