Add Interrupt() function to termbox
This function can be used to interrupt an ongoing PollEvent() call, causing that call to return an Event with type `EventInterrupt`. Also added a demonstration of how this could work.
Showing
_demos/interrupt.go
0 → 100644
想要评论请 注册 或 登录