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

expose quit in ui loop #4

Open
c-cube opened this issue Mar 10, 2020 · 0 comments
Open

expose quit in ui loop #4

c-cube opened this issue Mar 10, 2020 · 0 comments

Comments

@c-cube
Copy link
Contributor

c-cube commented Mar 10, 2020

Nottui.Ui_loop.run could provide an easy way to combine the default behavior ("quit on escape") with custom behavior (like a quit button).
For that I think it could take an optional bool Lwd.var instead of a bool Lwd.t, and add the escape behavior on top of that?

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

No branches or pull requests

1 participant