Here is a patch to modify the wxt terminal to work as an separate process, in a similar way as the x11 terminal is doing. This is motivated by the following issues with the current GUI-loop-as-a-secondary-thread :
-wxt-on-macos fix would be hackish in that scheme, if not unfixable
-threaded event loop leads to bizarre moments of lag
-wxWidgets in general was not designed to be used with the main GUI loop in a separate thread.
So, with pieces of code to transfer messages beetween gnuplot core and a terminal, the wxt terminal can become a separate process and get rid of these issues. I hope others are not introduced.
My goal is also to write the code as generically as possible, as it could be shared with the x11 terminal or, say, future gtk or qt terminals.
Log in to post a comment.