Hi guys. Do you know if there's any way to get what the user is typing
with gets(), I mean I want to know what is he typing before he hits
Enter, so for example I can do some action if the input is "", and just
wait for he to finish the sentence if not. Can it be done with a kind of
thread or something? Do you think that consulting the actual value of
$stdin with a thread running in parallel of the other thread runnig
gets() can be done?