You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Is it possible to use linenoise in a graphical GTK application ?
If yes, how to deal with blocking linenoise() calls in the loop, and the gtk_main() function?
The text was updated successfully, but these errors were encountered:
To use it easily with gtk the libnoise calls would need to have nonblocking versions.
If not then you are left with hacks - for instance, you can run the gtk main loop in a different thread or process, then when the gui part of the app finishes, send a signal to kill the part dealing with stdin via linenoise.
Hi,
Is it possible to use linenoise in a graphical GTK application ?
If yes, how to deal with blocking
linenoise()
calls in the loop, and thegtk_main()
function?The text was updated successfully, but these errors were encountered: