gizak / termui

Golang terminal dashboard
MIT License
13.14k stars 787 forks source link

Support of Synchronous Events #112

Closed wanzysky closed 5 years ago

wanzysky commented 7 years ago

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

cjbassi commented 5 years ago

This should be working now after the event system rework.