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/commands/search.py | |
parent | b190bf2980ce8944bdf2620e2c6442559712fdc2 (diff) |
buffers/thread: more sophisticated heuristics for default weights
Should produce better results in most situations.
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r-- | alot/commands/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py index f4e8efdc..9fe265cb 100644 --- a/alot/commands/search.py +++ b/alot/commands/search.py @@ -37,7 +37,7 @@ class OpenThreadCommand(Command): query = ui.current_buffer.querystring logging.info('open thread view for %s', self.thread) - tb = buffers.ThreadBuffer(self.thread) + tb = buffers.ThreadBuffer(ui, self.thread) ui.buffer_open(tb) tb.focus_next_matching(query) |