further additions and improvement of my script are working, but not always .. i'm running a chess engine binary as a thread process and i catch its output while it's evaluating a chess position .. but the process isn't "stable" : a severe error may happen anytime ? I tried different chess binaries, sleep(100) at some points, and more silly things to find and correct the error.
then i found <https://github.com/ix/notewell/issues/3> : user "ix" had similar problems, and finally he seems to have solved the issue .. he writes : _EDIT I was using 1 as the priority. Should 've done things properly and used PRIORITY_HIGH_IDLE, which waits on redraw & resize operations before executing the callback._ so, i found info about PRIORITY_HIGH_IDLE, eg. <https://docs.gtk.org/glib/const.PRIORITY_HIGH_IDLE.html> and i want to try this, because it looks like an obvious and simple cure ? but how to set the GTK Constant PRIORITY_HIGH_IDLE by Nim ?
