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

Merged Dolans fix for not clearing typing message

This commit is contained in:
Dolan O'Toole 2012-12-05 18:20:48 +00:00 committed by James Booth
parent c0ac3673af
commit b89ca4fc3e

View File

@ -52,6 +52,7 @@ create_title_bar(void)
void void
title_bar_title(void) title_bar_title(void)
{ {
wclear(title_bar);
recipient = NULL; recipient = NULL;
typing_elapsed = NULL; typing_elapsed = NULL;
title_bar_show("Profanity. Type /help for help information."); title_bar_show("Profanity. Type /help for help information.");
@ -165,6 +166,7 @@ title_bar_set_typing(gboolean is_typing)
void void
title_bar_draw(void) title_bar_draw(void)
{ {
wclear(title_bar);
_title_bar_draw_status(); _title_bar_draw_status();
_title_bar_draw_title(); _title_bar_draw_title();
} }