diff options
author | Gerald Pottler <feihtthief@gmail.com> | 2024-06-23 23:15:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-23 23:15:04 +0200 |
commit | be1b9c36dc862b6c6abe89463f4ce4571eddc229 (patch) | |
tree | 236a41f16197b3d10b884c98a0c68b44cb39fd00 | |
parent | 516979b2ae050a95a4bbd3928bc856e482a37097 (diff) |
fix io_graph_speeds parsing
Issue #868
-rw-r--r-- | src/btop_draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp index c54f634..fb2af48 100644 --- a/src/btop_draw.cpp +++ b/src/btop_draw.cpp @@ -1162,7 +1162,7 @@ namespace Mem { if (not Config::getS("io_graph_speeds").empty()) { auto split = ssplit(Config::getS("io_graph_speeds")); for (const auto& entry : split) { - auto vals = ssplit(entry); + auto vals = ssplit(entry,':'); if (vals.size() == 2 and mem.disks.contains(vals.at(0)) and isint(vals.at(1))) try { custom_speeds[vals.at(0)] = std::stoi(vals.at(1)); |