From 47ebd7656057fadb5b627dfc1844bc09dc171ff2 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 9 Jan 2021 12:50:13 +0100 Subject: buffers/thread: more sophisticated heuristics for default weights Should produce better results in most situations. --- alot/ui.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'alot/ui.py') 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() -- cgit v1.2.3