Skip to content

Commit

Permalink
added sleep so it doesn't take up 100% cpu usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxzymus Dominick committed Sep 19, 2020
1 parent e4ac4a3 commit 09de722
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wayherb.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ int main(int argc, char *argv[])

for (;;) {
while(should_exit == 0) {
sleep(0.5);
draw();
}

Expand Down

0 comments on commit 09de722

Please sign in to comment.