about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDolan O'Toole <dolan.otoole@corelogic.co.uk>2012-12-05 18:20:48 +0000
committerJames Booth <boothj5@gmail.com>2012-12-05 19:15:16 +0000
commitb89ca4fc3ecfce7a99a5b3d4216eebeec657f586 (patch)
treedabbd7a16903a9ff7dc03043cd8bec7a07995b7d
parentc0ac3673afb8de9b017d6a20433cbca9e20995b5 (diff)
downloadprofani-tty-b89ca4fc3ecfce7a99a5b3d4216eebeec657f586.tar.gz
Merged Dolans fix for not clearing typing message
-rw-r--r--src/title_bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/title_bar.c b/src/title_bar.c
index 08c8c6db..73352081 100644
--- a/src/title_bar.c
+++ b/src/title_bar.c
@@ -52,6 +52,7 @@ create_title_bar(void)
 void
 title_bar_title(void)
 {
+    wclear(title_bar);
     recipient = NULL;
     typing_elapsed = NULL;
     title_bar_show("Profanity. Type /help for help information.");
@@ -165,6 +166,7 @@ title_bar_set_typing(gboolean is_typing)
 void
 title_bar_draw(void)
 {
+    wclear(title_bar);
     _title_bar_draw_status();
     _title_bar_draw_title();
 }