Ver código fonte

Wait to Poll

cuu 2 anos atrás
pai
commit
39408ba536
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -343,7 +343,7 @@ func run() int {
 
 	running := true
 	for running {
-		ev := event.Wait()
+		ev := event.Poll()
 		if ev.Type == event.QUIT {
 			running = false
 			break