Update message shown if no channels are configured
This commit is contained in:
parent
71654fe32e
commit
900cb9a3e1
6
main.cpp
6
main.cpp
|
@ -121,9 +121,9 @@ void draw_no_channels_msg()
|
||||||
|
|
||||||
const std::string text("No configured channels.\n"
|
const std::string text("No configured channels.\n"
|
||||||
"Press the following keys to add one:\n"
|
"Press the following keys to add one:\n"
|
||||||
"a Add by name\n"
|
"a Add channel by name\n"
|
||||||
"A Add by ID\n"
|
"A Add channel by ID\n"
|
||||||
"Or press h for help or ^q to quit.");
|
"Or press F1 for help or C-q to quit.");
|
||||||
{
|
{
|
||||||
std::pair<size_t, size_t> size = string_size(text);
|
std::pair<size_t, size_t> size = string_size(text);
|
||||||
write_multiline_string((cols - size.first) / 2, (rows - size.second) / 2, text, get_attr(ASNormal));
|
write_multiline_string((cols - size.first) / 2, (rows - size.second) / 2, text, get_attr(ASNormal));
|
||||||
|
|
Loading…
Reference in New Issue