Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added refresh interval in ms for animations #709

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

peterc-s
Copy link

Added a configuration option that allows the user to set the time between animation frames in milliseconds called animation_refresh_ms.

Had to change around the animation code to separate updating the animation buffer and drawing to the terminal buffer a bit, and if there is an animation a new std.time.Timer is used to check if enough time has passed to draw with an update.

Sort of what I wanted out of #708

@peterc-s peterc-s marked this pull request as draft October 22, 2024 01:18
@peterc-s
Copy link
Author

This seems to cause a segfault when actually logging in for the doom animation, and when on the matrix animation, it causes the display to go blank whilst authenticating. May need some help here.

@peterc-s
Copy link
Author

It seems like some code added to give up the TTY on authentication (commit c7f70ac) and then take it back afterwards caused a segmentation fault with the doom animation and potentially a double free. Temporarily removed that code until I figure out how to fix it.

@peterc-s peterc-s marked this pull request as ready for review October 22, 2024 13:43
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