microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.08k stars 29.24k forks source link

"terminal.integrated.macOptionIsMeta" does not bypass dead-keys in "ABC - Extended" keyboard layout #196707

Open d10c opened 1 year ago

d10c commented 1 year ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. On macOS, switch to the "ABC - Extended" keyboard layout
  2. In VSCode, turn on terminal.integrated.macOptionIsMeta
  3. Open the integrated terminal
  4. Type various key chords involving Meta, such as Meta+p/Meta+n for browsing through command history.
  5. The outcome: the command line is intermittently littered with unapplied dead-keys, such as ,,˜,˜,,˜. In particular, this makes some terminal applications such as vanilla Emacs unusable.

In contrast, if you switch to another QWERTY keyboard layout such as "Unicode Hex Input", this problem does not appear. Ideally, "ABC - Extended" should be supported just as well.

ulugbekna commented 11 months ago

Hi @Tyriar , this seems like a terminal issue to me because I don't see the keybinding service handling these events & also macOptionIsMeta seems like an xterm option?