wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.82k stars 798 forks source link

MacOS - CapsLock, Shift, Control, fn, option, cmd not logged by debug view #6112

Open yorschor opened 2 months ago

yorschor commented 2 months ago

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20240812-215703-30345b36

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

I tried configuring CapsLock as the leader key as i have done on windows but i cant get it to even show when I enable "config.debug_key_events" I would assume that I would see the raw/physical input logged here? Mind me this is MacOS Sequoia 24A5331b. I don´t know if that makes any difference.

I tried around with use_ime among others. I also made sure that the keys work otherwise. Karabiner elements Event viewer logs everything normally

To Reproduce

  1. Install Wezterm
  2. set config.debug_key_events = true in the config file
  3. Press one of the following keys "CapsLock, Shift, Ctrl, Option, CMD"

Configuration

local wezterm = require("wezterm") local config = {} local act = wezterm.action

if wezterm.config_builder then config = wezterm.config_builder() end ... config.debug_key_events = true ... config.animation_fps=60 return config

Expected Behavior

I would expect that all keys emit at least a physical/raw keyevent so that the can be used.

Logs

No response

Anything else?

No response

yorschor commented 1 month ago

Update: It seems to be the same for me on the release version of MacOS Sequoia.