Describe the bug
For languages that use diacritics (accents), a common way to type them is to press and release a "dead key" representing the accent, then the base character. To type é on the so called "Romanian (Programmers) layout", I type AltGr-9 e. In lazygit, this results in 9é, forcing me to go back and delete the 9 in this case.
To Reproduce
Steps to reproduce the behavior:
- Set the keyboard layout to "Romanian (Programmers)"
- In lazygit, start editing a commit message
- Type an accented character, like ê, à, or é, using
AltGr plus the 3, 7, or 9 keys respectively
- Notice how the "dead key" was inserted
- If you then type "e", you will get the accented letter as well
Expected behavior
The dead keys are not supposed to be inserted on their own.
Using non-modified dead keys, like in the "United States-International" layout, one uses ' e to type é, works as expected: I get only the accented character, no apostrophe.
Version info:
commit=aee0e40ec1235476e9328678f0f3e2462576b9ae, build date=2026-08-04T07:26:19Z, build source=binaryRelease, version=0.64.0, os=windows, arch=amd64, git version=2.51.0.windows.1
Terminal info:
I tried using both the legacy cmd.exe and the modern Windows Terminal (1.24.11911.0). Outside of lazygit, using the same layout and key combinations, both terminals work as expected.
Describe the bug
For languages that use diacritics (accents), a common way to type them is to press and release a "dead key" representing the accent, then the base character. To type
éon the so called "Romanian (Programmers) layout", I typeAltGr-9 e. In lazygit, this results in9é, forcing me to go back and delete the9in this case.To Reproduce
Steps to reproduce the behavior:
AltGrplus the 3, 7, or 9 keys respectivelyExpected behavior
The dead keys are not supposed to be inserted on their own.
Using non-modified dead keys, like in the "United States-International" layout, one uses
' eto typeé, works as expected: I get only the accented character, no apostrophe.Version info:
commit=aee0e40ec1235476e9328678f0f3e2462576b9ae, build date=2026-08-04T07:26:19Z, build source=binaryRelease, version=0.64.0, os=windows, arch=amd64, git version=2.51.0.windows.1Terminal info:
I tried using both the legacy cmd.exe and the modern Windows Terminal (1.24.11911.0). Outside of lazygit, using the same layout and key combinations, both terminals work as expected.