diff options
Diffstat (limited to 'title_bar.c')
-rw-r--r-- | title_bar.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/title_bar.c b/title_bar.c index 27b2855e..17727f77 100644 --- a/title_bar.c +++ b/title_bar.c @@ -15,10 +15,16 @@ void create_title_bar(void) title_bar_show(title); } +void title_bar_refresh(void) +{ + touchwin(title_bar); + wrefresh(title_bar); + inp_put_back(); +} + void title_bar_show(char *title) { wclear(title_bar); mvwprintw(title_bar, 0, 0, " %s", title); - wrefresh(title_bar); } |