▲ 34 r/C_Programming
How to catch CTRL input in C?
Hello,
Im trying to intercept any keypresses of the user that correspond to CTRL, in my case, i want to intercept CTRL + Q.
I first tried looking at the CTRL keycode online but couldn't find anything.
I dug a little deeper and found that i could use signal.h to intercept CTRL + C.
But can you intercept any others combinations? In my case, CTRL + Q?
Thanks for reading my message.
u/HedgehogNo5130 — 2 days ago