|
From: Ethan A M. <sf...@us...> - 2013-08-21 17:48:47
|
On Wednesday, August 21, 2013 08:39:45 am Juhász Péter wrote: > Dear gnuplot list members, > > Struck by sudden inspiration (and also motivated by the feel that the > "new" control flow capabilities are not advertised enough in the > existing demos), I wrote a small game demo, in pure gnuplot. I donate it > for the demo suite. > > I haven't committed it to cvs straight away because for some reason it > does not work with the wxt terminal. It works with x11, I haven't tested > others. It doesn't work for Qt either. In both cases it seems that eventa sent through the reverse communication pipe (from the display thread to the main thread) are being buffered rather than being processed synchronously. I tried adding a m_socket->flush() command in Qt, but that didn't help. I suppose the problem in wxt has something to do with the select() at line 3579 of wxt_gui.cpp. This must be a standard problem, but I'm not familiar enough with either wxWidgets or Qt to know the standard answer. Ethan > > Have fun! > > Peter Juhasz > > |