about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-16 19:58:21 +0000
committerJames Booth <boothj5@gmail.com>2014-01-16 19:58:21 +0000
commit682601d4799c64cfe2f191c1c3221991ba97bccf (patch)
tree3608fd491d79edf2b21e7320cefef2b7e64dcd0d
parent69a63bd225748eafaeb43ea2d76186ed03dcbced (diff)
downloadprofani-tty-682601d4799c64cfe2f191c1c3221991ba97bccf.tar.gz
Use title_bar_draw in title_bar_refresh
-rw-r--r--src/ui/titlebar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index 16228410..a8470f80 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -86,13 +86,10 @@ _title_bar_refresh(void)
                 free(current_title);
                 current_title = strdup(current_recipient);
 
-                title_bar_draw();
-
                 g_timer_destroy(typing_elapsed);
                 typing_elapsed = NULL;
 
-                wrefresh(win);
-                inp_put_back();
+                title_bar_draw();
             }
         }
     }