Re:Libui: GUI library in C
by RustyRussell on Friday May 20, 2016 @07:44AM
(#11737014)
I couldn't see how to do other things in the event loop. Like, waiting for socket input. Did I miss it?
[ Parent
| on HN ]
I haven't implemented that, and I'm not sure how I would add support for implementing that in a portable way without creating a complete networking abstraction interface either... In the meantime, you could do your socket work on a thread and use uiQueueMain() to send updates to the main thread.