i was wondering if there is a way in C to detect when user is typing. I actually read this post C detect user typing characters in stdin but i can't find a way to switch my console from line-mode to char-mode in Windows OS...
Is "ncurses" library as it said, the only way to do that?... Can't i just create a thread that observe the "input" stream like in java?
I need only the "event handler", the rest of my code will send a message to a client through Winsock like "USER_NAME is typing" like Whatsapp...
is there any way to do that?