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

More Robust Handling of Window Resize Events #4

Open
zacharygraber opened this issue Feb 9, 2023 · 0 comments
Open

More Robust Handling of Window Resize Events #4

zacharygraber opened this issue Feb 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@zacharygraber
Copy link
Owner

We are currently checking the size of the window/terminal on launch to make sure there's enough space; however, we should re-check every time the window is resized as well. Resize events are captured by termbox, so this should be simple.

If the user resizes the terminal to be too small, it would likely be best to pause the game and display a message asking them to resize.

@zacharygraber zacharygraber added the bug Something isn't working label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant