1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Use ProfWin->print_line for console typing notifications

This commit is contained in:
James Booth 2013-10-06 18:05:51 +01:00
parent a527beabd3
commit 78ee448a8d

View File

@ -131,10 +131,7 @@ cons_show_typing(const char * const barejid)
display_usr = barejid;
}
console->print_time(console, '-');
wattron(console->win, COLOUR_TYPING);
wprintw(console->win, "!! %s is typing a message...\n", display_usr);
wattroff(console->win, COLOUR_TYPING);
console->print_line(console, '-', COLOUR_TYPING, "!! %s is typing a message...", display_usr);
wins_refresh_console();
cons_alert();