Use "+" as a delimiter for param blacklist

pull/398/head
Alessandro Toia 4 years ago
parent 221c355f15
commit e4fe24a051

@ -188,7 +188,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu
| `cellpadding_y` | Set the vertical cellpadding, default is `-0.085` |
| `frametime` | Display frametime next to fps text |
| `table_columns` | Set the number of table columns for ImGui, defaults to 3 |
| `blacklist` | Add a program to the blacklist. e.g `blacklist=vkcube,WatchDogs2.exe` |
| `blacklist` | Add a program to the blacklist. e.g `blacklist=vkcube+WatchDogs2.exe` |
Example: `MANGOHUD_CONFIG=cpu_temp,gpu_temp,position=top-right,height=500,font_size=32`

@ -190,7 +190,7 @@ parse_str_tokenize(const char *str)
std::vector<std::string> data;
std::stringstream ss(str);
std::string token;
while (std::getline(ss, token, ',')) {
while (std::getline(ss, token, '+')) {
trim(token);
data.push_back(token);
}

Loading…
Cancel
Save