titles_visibility configuration option
This commit is contained in:
committed by
Andrzej Rybczak
parent
8ec84637d2
commit
18bc6368bf
@@ -378,6 +378,7 @@ void NcmpcppConfig::SetDefaults()
|
||||
header_visibility = true;
|
||||
header_text_scrolling = true;
|
||||
statusbar_visibility = true;
|
||||
titles_visibility = true;
|
||||
centered_cursor = false;
|
||||
screen_switcher_previous = false;
|
||||
autocenter_mode = false;
|
||||
@@ -899,6 +900,10 @@ void NcmpcppConfig::Read()
|
||||
{
|
||||
statusbar_visibility = v == "yes";
|
||||
}
|
||||
else if (cl.find("titles_visibility") != std::string::npos)
|
||||
{
|
||||
titles_visibility = v == "yes";
|
||||
}
|
||||
else if (cl.find("screen_switcher_mode") != std::string::npos)
|
||||
{
|
||||
if (v.find("previous") != std::string::npos)
|
||||
|
||||
Reference in New Issue
Block a user