-
Notifications
You must be signed in to change notification settings - Fork 783
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
Support of Synchronous Events #112
Comments
This should be working now after the event system rework. |
kamisdev
pushed a commit
to kamisdev/powerfulTERMINAL
that referenced
this issue
May 7, 2022
sadevn
added a commit
to sadevn/go-terminal
that referenced
this issue
Mar 4, 2023
newheaven918
added a commit
to newheaven918/termdashboard
that referenced
this issue
May 20, 2024
Now keyboard events will be handled in order, but the consequence is computation-intense may need to be moved to a seperate goroutine otherwise it may delay the next event call.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As events are all asynchronous, the inputs will be out of order when pasting from clipboard.
Optional synchronous events support can be useful in this situation.
https://github.com/gizak/termui/blob/master/events.go#L128
https://github.com/gizak/termui/blob/master/events.go#L246
The text was updated successfully, but these errors were encountered: