Skip to content

feat: Implement pause functionality#10

Open
stevenwcarter wants to merge 1 commit into
Fierthraix:masterfrom
stevenwcarter:pause
Open

feat: Implement pause functionality#10
stevenwcarter wants to merge 1 commit into
Fierthraix:masterfrom
stevenwcarter:pause

Conversation

@stevenwcarter

Copy link
Copy Markdown

When the pause value in Config is true, do not update or draw the matrix. Instead, sleep for 100ms so the CPU doesn't try to listen for keypresses with 100% CPU.

When the `pause` value in `Config` is true, do not update or draw
the matrix. Instead, sleep for 100ms so the CPU doesn't try to
listen for keypresses with 100% CPU.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant