diff options
Diffstat (limited to 'src/btop_input.cpp')
-rw-r--r-- | src/btop_input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btop_input.cpp b/src/btop_input.cpp index ee0816b..60d717c 100644 --- a/src/btop_input.cpp +++ b/src/btop_input.cpp @@ -263,7 +263,7 @@ namespace Input { else if (is_in(key, "1", "2", "3", "4")) { atomic_wait(Runner::active); Config::current_preset = -1; - static const array<string, 10> boxes = {"cpu", "mem", "net", "proc"}; + static const array<string, 4> boxes = {"cpu", "mem", "net", "proc"}; Config::toggle_box(boxes.at(std::stoi(key) - 1)); Draw::calcSizes(); Runner::run("all", false, true); |