From 86ed12037a68954fcdf4e5855d0de06f67c92ce7 Mon Sep 17 00:00:00 2001 From: Jordan Lambert <39280243+jlambert360@users.noreply.github.com> Date: Mon, 18 May 2026 15:13:54 -0400 Subject: [PATCH] feat: map = to + to avoid having to press shift when increasing refresh rate (#1665) --- src/btop_input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/btop_input.cpp b/src/btop_input.cpp index 7383b8be..5a142174 100644 --- a/src/btop_input.cpp +++ b/src/btop_input.cpp @@ -542,7 +542,7 @@ namespace Input { bool redraw = true; static uint64_t last_press = 0; - if (key == "+" and Config::getI("update_ms") <= 86399900) { + if ((key == "+" or key == "=") and Config::getI("update_ms") <= 86399900) { int add = (Config::getI("update_ms") <= 86399000 and last_press >= time_ms() - 200 and rng::all_of(Input::history, [](const auto& str){ return str == "+"; }) ? 1000 : 100);