im making a program and when you select exit in the menu i want it to be like:
Are you sure you want to exit?
Yes No
Enter Esc
so when you press enter it will exit and when u press esc it will go back to the menu. everything iv tried didn't work. is it even possible to do this?