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
reels demo terminates on resize #390
Comments
We're exiting out in the |
Hrmm. This is somewhat complex, and has ramifications for #373. Demos don't call Note that if we enter raw mode, we are planning to drain input internally to notcurses (to properly handle e.g. Ctrl+C without latency), so we'll see the same situation. The problem is that we then can't use poll() to determine whether input is available. It's already been removed. The My initial idea is that such a scheme can use its own eventfd/pipe. Kinda heavyweight, but it works, and also allows us to handle e.g. multibyte input entirely in the primary receiver... |
We can solve this for the purpose of |
When we process input in the demo, write a packet to an eventfd we set up in input_dispatcher(). This way, demo components can poll() on that. #390
No longer happening for most keypresses, but still happening for |
Ahhh, the remaining |
If we resize the
notcurses-demo
window while thereels
demo is running, the demo exits immediately. It ought instead take the resize into account, and redraw.The text was updated successfully, but these errors were encountered: