diff options
author | mathieui <mathieui@mathieui.net> | 2016-07-12 21:05:46 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-07-12 21:05:46 +0200 |
commit | a548e2ff6df2abec1791464055deeb9976ca73f8 (patch) | |
tree | 07ca709d8e2dae1b453327b66b38ffa4d98dc913 /poezio/core/handlers.py | |
parent | d19f53c3e9c5c02773b9fb3cdfe68a3cb245c833 (diff) | |
download | poezio-a548e2ff6df2abec1791464055deeb9976ca73f8.tar.gz poezio-a548e2ff6df2abec1791464055deeb9976ca73f8.tar.bz2 poezio-a548e2ff6df2abec1791464055deeb9976ca73f8.tar.xz poezio-a548e2ff6df2abec1791464055deeb9976ca73f8.zip |
Improve refresh performance in big rooms
going through a list with more than 1000 elements, one at a time, can be
a bit tedious. Especially if you go through it every time you receive
one of those elements.
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r-- | poezio/core/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 70c2e59c..e1fc292b 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -532,7 +532,7 @@ class HandlerCore: if tab is self.core.current_tab(): tab.text_win.refresh() - tab.info_header.refresh(tab, tab.text_win) + tab.info_header.refresh(tab, tab.text_win, user=tab.own_user) tab.input.refresh() self.core.doupdate() elif tab.state != old_state: |