diff options
author | mathieui <mathieui@mathieui.net> | 2019-09-28 18:35:23 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-09 19:46:17 +0200 |
commit | 80ce8453f50ccaad4d71fda8811ee33f5ffa3624 (patch) | |
tree | 6e4b7f86f97a82c5fd4cebc6a61349283dee2a36 /poezio/core/core.py | |
parent | a5ef6ec9105f22d14b7d7ec3b634796fc3466e93 (diff) | |
download | poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.tar.gz poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.tar.bz2 poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.tar.xz poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.zip |
Rewrite part of the message handling/rendering
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r-- | poezio/core/core.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index 14852ac2..2b8252b1 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -1349,7 +1349,10 @@ class Core: colors = get_theme().INFO_COLORS color = colors.get(typ.lower(), colors.get('default', None)) nb_lines = self.information_buffer.add_message( - msg, nickname=typ, nick_color=color) + txt=msg, + nickname=typ, + nick_color=color + ) popup_on = config.get('information_buffer_popup_on').split() if isinstance(self.tabs.current_tab, tabs.RosterInfoTab): self.refresh_window() |