Skip to content

Chained dead keys keys are not supported #5866

Open

Description

@Geobert

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: AutoHotkey/AutoHotkey@42f9e34

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

Activity

  1. Geobert commented on Jul 28, 2024

    @Geobert
    Author

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

  2. Biganon commented on Aug 4, 2024

    @Biganon

    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...

  3. Augustin82 commented on Sep 1, 2024

    @Augustin82

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

  4. brabalan commented on Sep 9, 2024

    @brabalan

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

  5. Geobert commented on Feb 4, 2025

    @Geobert
    Author

    culprit is here https://github.com/wez/wezterm/blob/b28bbbc4c8345197e433590c9ce50a7bf3ea5bc7/window/src/os/windows/window.rs#L2264

    this scan for dead key but only managed dead keys on the main layer. If a dead key is behind another, it is not detected

  6. artav4 commented on Jul 29, 2025

    @artav4

    Same with ergol but on wayland !

  7. honnorat commented on Aug 21, 2025

    @honnorat

    Any update on this issue ? Impossible for now to use QWERTY-lafayette with Wezterm 😕

  8. bnjbvr commented on Jul 14, 2026

    @bnjbvr

    Fwiw, #4991 fixes this one for me 👍 From a quick skim it seems the code path handling deadkey support for Wayland actually defers to the code path for X, in wezterm's source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: keyboardKeyboard mapping/handlingbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions