What is the HEX sequence for CRTL-UP key-press?
For example for UP – ‘0x1b, 0x5b, 0x41’.
What is the HEX sequence for CRTL-UP key-press? For example for UP – ‘0x1b,
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I wrote a simple Python 3 script to find out the answer:
I had to turn off the standard “Mission control” shortcut for the CtrlUp keystroke, but after doing that I get the following in iTerm2:
The first two lines represent an Up keypress, while the second two lines represent a CtrlUp. You can use this same program to find out the character sequences for any other keystrokes.