fix 100% cpu usage

This commit is contained in:
cjdenio committed 2026-09-10 11:43:37 -05:00
1 parent 1ae13edd35
commit 6a83b1c263
2 files changed
+6 -3

No files matched your search

+4 -1
View File
@@ -56,7 +56,10 @@ func main() {
})
for {
scanner.Scan()
ok := scanner.Scan()
if !ok {
break
}
buffer := scanner.Bytes()
exited := state.HandleInput(buffer)