Skip to content

Inconsistent key inputs between terminal apps on Mac (Terminal and iTerm2) #291

Answered by meowgorithm
blackmann asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! So terminals don't have a notion of the option key. On macOS Terminal and iTerm2 you need to tick a box in settings to have option send alt (which is often called meta). What it sounds like is happening is that one of your terminals is sending alt/meta from the option key and the other is not.

On a personal note, when I'm on a Mac I setup Kitty so that I my left option key is bound to alt/meta while the right option remains bound to option so I still have access to the system-wide, option-based keybindings—particularly those that let me enter special characters.


Separately, per your question about string representations for keys, there's no official reference for string representatio…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by meowgorithm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #284 on April 12, 2022 11:15.