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

Support of Synchronous Events #112

Closed
wanzysky opened this issue Dec 19, 2016 · 1 comment
Closed

Support of Synchronous Events #112

wanzysky opened this issue Dec 19, 2016 · 1 comment

Comments

@wanzysky
Copy link
Contributor

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

@gizak gizak mentioned this issue Mar 6, 2017
17 tasks
gizak added a commit that referenced this issue Apr 6, 2017
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.
@cjbassi
Copy link
Contributor

cjbassi commented Dec 5, 2018

This should be working now after the event system rework.

@cjbassi cjbassi closed this as completed Dec 5, 2018
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
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

2 participants