I'm trying to ask the input of a Mac OS terminal user. My program is written in C and I would like to have a clickable text that allows the user to click yes or no to let my program c execute or not a given action / function.
I'd like to see something like:
Do you want to check your email? [Yes] [No]
Then I can click yes or no (so, yes / no, the text acts as buttons).
I have not found anything that answers my question if it is possible in c. Maybe there is some kind of mac-specific function that I could call from my program c.
Thank you very much for your help!