Tidy up titlebar title

This commit is contained in:
James Booth
2012-02-19 00:23:45 +00:00
parent 9f6356a8f7
commit 355f2a68fd
3 changed files with 9 additions and 4 deletions

View File

@@ -5,13 +5,17 @@ static WINDOW *title_bar;
void create_title_bar(void)
{
char *title = "Profanity. Type /help for help information.";
int rows, cols;
getmaxyx(stdscr, rows, cols);
title_bar = newwin(1, cols, 0, 0);
wbkgd(title_bar, COLOR_PAIR(3));
title_bar_title();
}
void title_bar_title()
{
char *title = "Profanity. Type /help for help information.";
title_bar_show(title);
}