1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge branch 'master' into chatstates

This commit is contained in:
James Booth 2012-10-30 22:33:17 +00:00
commit 7f1e3084b3

View File

@ -441,13 +441,13 @@ win_show_outgoing_msg(const char * const from, const char * const to,
_win_show_time(win); _win_show_time(win);
if (strncmp(message, "/me ", 4) == 0) { if (strncmp(message, "/me ", 4) == 0) {
wattron(win, COLOUR_ONLINE); wattron(win, COLOUR_INC);
wprintw(win, "*%s ", from); wprintw(win, "*%s ", from);
wprintw(win, message + 4); wprintw(win, message + 4);
wprintw(win, "\n"); wprintw(win, "\n");
wattroff(win, COLOUR_ONLINE); wattroff(win, COLOUR_INC);
} else { } else {
_win_show_user(win, from, 1); _win_show_user(win, from, 0);
_win_show_message(win, message); _win_show_message(win, message);
} }
_win_switch_if_active(win_index); _win_switch_if_active(win_index);