This commit is contained in:
bel
2023-03-23 21:05:30 -06:00
parent e832085fc2
commit 37d02f0f52
2 changed files with 8 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package input
import (
"io"
"log"
"os"
"os/exec"
"runtime"
@@ -60,5 +61,8 @@ func (kb Keyboard) Read() []Button {
down = true
}
}
if os.Getenv("DEBUG") == "true" {
log.Printf("input.Keyboard.Read() %s => %+v", b[:n], result)
}
return result
}