diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-09 12:50:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-09 12:50:13 +0100 |
commit | 47ebd7656057fadb5b627dfc1844bc09dc171ff2 (patch) | |
tree | 47eb2797d0206fd02347cceeff7be3c6a97a3d46 /alot/ui.py | |
parent | b190bf2980ce8944bdf2620e2c6442559712fdc2 (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.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() |