wez / wezterm

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

Chained dead keys keys are not supported #5866

Open Geobert opened 4 months ago

Geobert commented 4 months ago

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

Windows

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

No response

WezTerm version

20240722-080956-7e8fdc11

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’m using Ergo‑L as layout and it has chained dead keys: the [O] (I note Qwerty key between brackets) key is a dead key and in this state, some keys are dead keys as well.

ex: [O][,][a] gives α but in Wezterm, pressing [O][,] I get ’g ([,] is g in ergo‑l) instead waiting for another key press.

Autohotkey recently solved similar issue: https://github.com/AutoHotkey/AutoHotkey/commit/42f9e3451db455b51ed60ce71de7aba886f002ef

To Reproduce

Use ergo‑l and try to type the greek alpha character

Configuration

no configuration done

Expected Behavior

be able to type α using ergo‑l

Logs

No response

Anything else?

No response

Geobert commented 4 months ago

On a side note, I’m currently getting acquainted with the code to solve that

Biganon commented 3 months ago

Same problem here, with QWERTY Lafayette. No combination of use_dead_keys and use_ime, true or false, solves the problem. The ; : key (next to L) is used as a dead key, but pressing it instantly prints ; in wezterm...

Augustin82 commented 2 months ago

Experiencing the same using https://ergol.org/ and its dead key (mapped on [o]).

brabalan commented 2 months ago

I have the same problem on macos. The same key sequence works fine with the builtin terminal or with kitty.