Skip to content

Commit

Permalink
Changed: cpu_graph_lower Auto defaults to cpu_graph_upper when show_g…
Browse files Browse the repository at this point in the history
…pu_info is Off
  • Loading branch information
aristocratos committed Aug 26, 2023
1 parent a9bc087 commit efddad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/btop_draw.cpp
Expand Up @@ -540,7 +540,7 @@ namespace Cpu {
graph_up_field = "total";
auto graph_lo_field = Config::getS("cpu_graph_lower");
if (graph_lo_field == "Auto" or not v_contains(Cpu::available_fields, graph_lo_field)) {
graph_lo_field = show_gpu ? "gpu-totals" : "total";
graph_lo_field = show_gpu ? "gpu-totals" : graph_up_field;
}
auto tty_mode = Config::getB("tty_mode");
auto& graph_symbol = (tty_mode ? "tty" : Config::getS("graph_symbol_cpu"));
Expand Down

0 comments on commit efddad4

Please sign in to comment.