Getting user input from outside the terminal

Hi,
I want to make a program that fires an event when the user presses Cmd+C, but the key is that it must be outside the terminal. Therefore, libraries like Termion will not help me because its only takes input from the terminal.

Are there any other libraries out there?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.