mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 07:16:20 +00:00
Title bar tidy up
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user