News for hackers. Stuff that matters.
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?
Re:Libui: GUI library in C by andlabs on Friday May 20, 2016 @08:28AM (#11737211)
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.