How to read keys depressed in Cygwin

0

For a shell script (.sh) in Cygwin, how do you read keys already pressed?

Scenario:

  • ~/.bash_profile: To see if the 'Ctrl' key was depressed on open

Is this possible? I see multiple solutions online but none have worked yet, reaching out for help!

J-Dizzle

Posted 2019-08-01T17:05:01.843

Reputation: 317

No answers