add incremental seeking as an option (enabled by default)
This commit is contained in:
@@ -185,6 +185,7 @@ void DefaultConfiguration(ncmpcpp_config &conf)
|
||||
conf.wrapped_search = true;
|
||||
conf.space_selects = false;
|
||||
conf.albums_in_tag_editor = false;
|
||||
conf.incremental_seeking = true;
|
||||
conf.set_window_title = true;
|
||||
conf.mpd_connection_timeout = 15;
|
||||
conf.crossfade_time = 5;
|
||||
@@ -564,6 +565,10 @@ void ReadConfiguration(ncmpcpp_config &conf)
|
||||
{
|
||||
conf.albums_in_tag_editor = v == "albums";
|
||||
}
|
||||
else if (it->find("incremental_seeking") != string::npos)
|
||||
{
|
||||
conf.incremental_seeking = v == "yes";
|
||||
}
|
||||
else if (it->find("enable_window_title") != string::npos)
|
||||
{
|
||||
conf.set_window_title = v == "yes";
|
||||
|
||||
Reference in New Issue
Block a user