cosmopolitan icon indicating copy to clipboard operation
cosmopolitan copied to clipboard

AltGr keys on French Keyboard Windows

Open jgranduel opened this issue 1 year ago • 1 comments

Hi,

In Bash (renamed bash.exe), French AZERTY Keyboard, with altGr, I cannot write french diacritic characters (àéçèùà eg), nor pipes usable with"AltGr+-". I have no clue about the origin of the issue and it might be due to a wrong keymap configuration.

best regards

jgranduel avatar Dec 08 '23 15:12 jgranduel

Cosmopolitan just uses what the WIN32 gives us. It sounds like there's something special we need to be doing when reading the NtInputRecord data structures in order to support French keyboards. I'm happy to merge a change if someone in France can help fix: https://github.com/jart/cosmopolitan/blob/master/libc/calls/read-nt.c

jart avatar Dec 08 '23 16:12 jart