I am trying to request input from a user in the mac os terminal. My program is written in c and I would like to have clickable text which allows the user to click either yes or no to let my c program execute or not execute a certain action/function.
I would like to for example see something like:
Would you like to verify your email? [Yes] [No]
Then I shall be able to either click yes or no (so basically yes/no is text acting like buttons).
I didn't find anything that answered my question whether this is possible in c. Maybe there is some kind of mac os specific function implemented which I could call from within my c program.
Thank you so much for all your help!