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 default option to mainloop select #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

infEreb
Copy link

@infEreb infEreb commented Jan 10, 2024

With this we no longer have to wait for any update events for View to update, this would be very helpful for creating dynamic widgets and generally more convenient than cumbersome userEvents

This doesn't break the old logic and keeps the need for userEvents for some cases
I would be very grateful if you would accept

@infEreb
Copy link
Author

infEreb commented Jan 10, 2024

If you favor the old logic, how about at least a bool flag (e.g. Dynamic) that would be in Gui and used in the default select

default:
    if !g.Dynamic {
        continue
    }

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.

None yet

1 participant