Skip to content

fix: dead keys and IME input not working correctly#6

Draft
nachokb wants to merge 2 commits intono1msd:mainfrom
nachokb:fix-dead-keys-input
Draft

fix: dead keys and IME input not working correctly#6
nachokb wants to merge 2 commits intono1msd:mainfrom
nachokb:fix-dead-keys-input

Conversation

@nachokb
Copy link
Copy Markdown

@nachokb nachokb commented Apr 24, 2026

Dead keys (accents, tildes) and IME-committed characters are being overwritten by raw keyval fallback or lost when modifiers changed between events.

á, ñ, ü, and double quotes (") must work correctly regardless of modifier key timing.

Shift-Modifier key requires special handling: " would not produce the expected character when Shift was held when Space was pressed.

Tests

⚠️ NEW DEPENDENCY: xdotool

Test dead keys by sending keyboard events using xdotool.

This only works on the "native" backend at the moment.

Assisted-By: opencode

nachokb added 2 commits April 24, 2026 03:51
send keyboard events using xdotool

add xdotool dependency

TODO: support for xvfb and cage
Dead keys (accents, tildes) and IME-committed characters are being
overwritten by raw keyval fallback or lost when modifiers changed
between events.

á, ñ, ü, and double quotes (") must work correctly regardless of
modifier key timing.

Shift-Modifier key requires special handling: `"` would not produce
the expected character when Shift was held when Space was pressed.

Assisted-By: opencode
@nachokb nachokb marked this pull request as draft April 24, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant