feat: map = to + to avoid having to press shift when increasing refresh rate (#1665)

This commit is contained in:
Jordan Lambert
2026-05-18 15:13:54 -04:00
committed by GitHub
parent 55a62250e9
commit 86ed12037a

View File

@@ -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);