From 619544e5727a7ece88861a27c853a698d271800f Mon Sep 17 00:00:00 2001 From: mar Date: Tue, 18 Jun 2024 17:03:45 -0400 Subject: [PATCH] when repeat, send first instance immediately --- lib/HoldRepeat.ahk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/HoldRepeat.ahk b/lib/HoldRepeat.ahk index 29eccd1..7d7cc93 100644 --- a/lib/HoldRepeat.ahk +++ b/lib/HoldRepeat.ahk @@ -26,6 +26,8 @@ _HoldRepeat_Handler(IsHold, TargetKey, CancelKeys:=[], HoldKey:="") { if IsHold { Send HoldRepeat_BlindMode "{" TargetKey " down}" + } else { + Send HoldRepeat_BlindMode "{" TargetKey "}" } SetTimer _HoldRepeat_Loop.Bind(IsHold, TargetKey, CancelKeys, HoldKey), HoldRepeat_TimerPeriod