mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Title bar tidy up
This commit is contained in:
parent
4543a3b2c6
commit
672906dd1d
@ -20,7 +20,7 @@ void title_bar_connected(void)
|
|||||||
int rows, cols;
|
int rows, cols;
|
||||||
getmaxyx(stdscr, 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)
|
void title_bar_disconnected(void)
|
||||||
@ -28,7 +28,7 @@ void title_bar_disconnected(void)
|
|||||||
int rows, cols;
|
int rows, cols;
|
||||||
getmaxyx(stdscr, 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)
|
void title_bar_refresh(void)
|
||||||
|
@ -60,7 +60,7 @@ void win_switch_to(int i)
|
|||||||
_curr_win = i;
|
_curr_win = i;
|
||||||
|
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
title_bar_show("Console, type /help for help information");
|
title_bar_show("Profanity. Type /help for help information");
|
||||||
} else {
|
} else {
|
||||||
title_bar_show(_wins[i].from);
|
title_bar_show(_wins[i].from);
|
||||||
}
|
}
|
||||||
@ -77,7 +77,7 @@ void win_close_win(void)
|
|||||||
|
|
||||||
// go back to console window
|
// go back to console window
|
||||||
_curr_win = 0;
|
_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)
|
int win_in_chat(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user