mirror of
https://github.com/profanity-im/profanity.git
synced 2025-07-26 12:14:28 -04:00
Use ProfWin->print_line for console typing notifications
This commit is contained in:
parent
a527beabd3
commit
78ee448a8d
@ -131,10 +131,7 @@ cons_show_typing(const char * const barejid)
|
|||||||
display_usr = barejid;
|
display_usr = barejid;
|
||||||
}
|
}
|
||||||
|
|
||||||
console->print_time(console, '-');
|
console->print_line(console, '-', COLOUR_TYPING, "!! %s is typing a message...", display_usr);
|
||||||
wattron(console->win, COLOUR_TYPING);
|
|
||||||
wprintw(console->win, "!! %s is typing a message...\n", display_usr);
|
|
||||||
wattroff(console->win, COLOUR_TYPING);
|
|
||||||
|
|
||||||
wins_refresh_console();
|
wins_refresh_console();
|
||||||
cons_alert();
|
cons_alert();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user