1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Title bar tidy up

This commit is contained in:
James Booth 2012-02-17 02:11:14 +00:00
parent 4543a3b2c6
commit 672906dd1d
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ void title_bar_connected(void)
int rows, cols;
getmaxyx(stdscr, rows, cols);
mvwprintw(title_bar, 0, cols - 12, " connected");
mvwprintw(title_bar, 0, cols - 13, " connected");
}
void title_bar_disconnected(void)
@ -28,7 +28,7 @@ void title_bar_disconnected(void)
int rows, cols;
getmaxyx(stdscr, rows, cols);
mvwprintw(title_bar, 0, cols - 12, "disconnected");
mvwprintw(title_bar, 0, cols - 13, "disconnected");
}
void title_bar_refresh(void)

View File

@ -60,7 +60,7 @@ void win_switch_to(int i)
_curr_win = i;
if (i == 0) {
title_bar_show("Console, type /help for help information");
title_bar_show("Profanity. Type /help for help information");
} else {
title_bar_show(_wins[i].from);
}
@ -77,7 +77,7 @@ void win_close_win(void)
// go back to console window
_curr_win = 0;
title_bar_show("Console, type /help for help information");
title_bar_show("Profanity. Type /help for help information");
}
int win_in_chat(void)