summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index a18785ad..01566506 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -138,7 +138,11 @@ class UserList(Win):
show_col = theme.COLOR_STATUS_NONE
else:
show_col = self.color_show[user.show]
- self.addstr(y, 0, theme.CHAR_STATUS, common.curses_color_pair(show_col))
+ if user.chatstate == 'composing':
+ char = 'X'
+ else:
+ char = theme.CHAR_STATUS
+ self.addstr(y, 0, char, common.curses_color_pair(show_col))
self.addstr(y, 1, user.nick[:self.width-2], common.curses_color_pair(role_col))
y += 1
if y == self.height: