summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-07-04 22:54:38 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-07-04 22:54:38 +0200
commitd9cc0aac4da1f0716bfc6cff74acb829128a813d (patch)
tree6e8e60ff71ff448cdaebb8f61d20e3a35f01a48d /src
parent3dbf9228d8c76a4105af63d2b5b1efedcb5c437f (diff)
parente56b8d9853bae436ccd2845ae63c6b30fa628cad (diff)
downloadpoezio-d9cc0aac4da1f0716bfc6cff74acb829128a813d.tar.gz
poezio-d9cc0aac4da1f0716bfc6cff74acb829128a813d.tar.bz2
poezio-d9cc0aac4da1f0716bfc6cff74acb829128a813d.tar.xz
poezio-d9cc0aac4da1f0716bfc6cff74acb829128a813d.zip
Merge these forgotten commits as well.
Diffstat (limited to 'src')
-rw-r--r--src/core.py1
-rw-r--r--src/windows.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index db860926..df7f3cad 100644
--- a/src/core.py
+++ b/src/core.py
@@ -988,6 +988,7 @@ class Core(object):
self.add_message_to_text_buffer(room, body, date, nick_from, history=True if date else False)
if tab is self.current_tab():
tab.text_win.refresh(tab._room)
+ tab.info_header.refresh(tab._room, tab.text_win)
self.refresh_tab_win()
if 'message' in config.get('beep_on', 'highlight private').split():
curses.beep()
diff --git a/src/windows.py b/src/windows.py
index 9294988b..d4d9b2a7 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -196,6 +196,10 @@ class UserList(Win):
show_col = self.color_show[user.show]
if user.chatstate == 'composing':
char = 'X'
+ elif user.chatstate == 'active':
+ char = 'A'
+ elif user.chatstate == 'paused':
+ char = 'p'
else:
char = theme.CHAR_STATUS
self.addstr(y, 0, char, common.curses_color_pair(show_col))