-
Notifications
You must be signed in to change notification settings - Fork 4
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
Weird framebuffer issues after resizing. #8
Comments
Fixed by clearing the screen every time the SIGWINCH signal is sent (aka the terminal is being resized), the only thing i need to fix is to add back the title screen logo once the screen has been cleared Will be up next commit! |
wait, i just realised the way i took it is not compatible with windows dammit |
- All: Removed lag on escape key - Scoring: Fixed checksums not working properly. Scoring should now work perfectly fine. - Util: Linux: Added support to the SIGWINCH signal, which clears the screen on terminal resize and prevents weird graphical issues - Util: Windows: check_term_size() has been added to check if the window has been resized on platforms that do not support SIGWINCH (looking at you, Windows >:c) ^ Both points above fix #8 - Editor: Added playtest preview (SPACE) - Editor: Added beatsounds - Editor: Fixed text not rendering while typing - Editor: Fixed #9, #10 and #12. - Editor: Fixed saving straight up crashing - Gameplay: Tried fixing offset issues - Loading/Scores: Now checking for the chart's checksum and labels any scores who fail this check as "outdated"
Found a workaround by checking for terminal size every loop cycle on Windows |
ok im stupid and forgot since sigwinch doesn't exist on Windows it just crashes bru |
- Util: Checking if we're not using Windows to make sure SIGWINCH isn't checked for when it's not defined - Loading/Options: Added placeholder values if some are not defined - Loading/Scores: Making sure that it doesn't crash if there's no scores folder - README: Reverted last commit, I managed to fix #8
Resizing the terminal can cause these kinds of issues.
This gets fixed when it goes from one entire window to another.
The text was updated successfully, but these errors were encountered: