You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Impossible to type numbers on a French AZERTY keyboard #10577
These issues suggest that OpenCode's TUI may have underlying keyboard handling problems that affect non-English keyboard layouts and number input in specific scenarios.
Feel free to ignore if none of these address your specific case.
Hi, same issue here, on Wezterm (built from master 712400a5).
Note that outside of opencode, numbers just work. The issue is present in opencode prompt only.
On Ghostty no issue.
Linux, X11, layout set to fr (azerty)
opencode 1.1.36
fish, version 4.3.3 (if this is relevant)
Activity
github-actions commentedon Jan 25, 2026
This issue might be a duplicate of existing issues. Please check:
These issues suggest that OpenCode's TUI may have underlying keyboard handling problems that affect non-English keyboard layouts and number input in specific scenarios.
Feel free to ignore if none of these address your specific case.
doums commentedon Jan 26, 2026
Hi, same issue here, on Wezterm (built from master
712400a5).Note that outside of opencode, numbers just work. The issue is present in opencode prompt only.
On Ghostty no issue.
Linux, X11, layout set to
fr(azerty)opencode 1.1.36
fish, version 4.3.3 (if this is relevant)
kommander commentedon Jan 27, 2026
Could you download an
opentui-examples-*prebuilt executable from https://github.com/anomalyco/opentui/releases/tag/v0.1.75 and run the "Keypress Debug Tool", pressing the combos that do not work and thenshift+sto dump the key log to cwd and share that?akhansari commentedon Jan 27, 2026
Thanks for your reply. Here is the json:
{ "exportedAt": "2026-01-27T17:25:53.230Z", "rawInputs": [ { "timestamp": "2026-01-27T17:25:49.670Z", "sequence": "\u001b[27;2;49~" }, { "timestamp": "2026-01-27T17:25:53.227Z", "sequence": "S" } ], "keyEvents": [ { "timestamp": "2026-01-27T17:25:49.672Z", "type": "keypress", "event": { "name": "1", "ctrl": false, "meta": false, "shift": true, "option": false, "sequence": "\u001b[27;2;49~", "number": false, "raw": "\u001b[27;2;49~", "eventType": "press", "source": "raw", "super": false, "hyper": false, "_defaultPrevented": false, "_propagationStopped": false } }, { "timestamp": "2026-01-27T17:25:53.229Z", "type": "keypress", "event": { "name": "s", "ctrl": false, "meta": false, "shift": true, "option": false, "sequence": "S", "number": false, "raw": "S", "eventType": "press", "source": "raw", "_defaultPrevented": false, "_propagationStopped": false } } ], "summary": { "totalRawInputs": 2, "totalKeyEvents": 2 }, "capabilities": { "kitty_keyboard": false, "kitty_graphics": true, "rgb": false, "unicode": "unicode", "sgr_pixels": true, "color_scheme_updates": false, "explicit_width": false, "scaled_text": false, "sixel": false, "focus_tracking": true, "sync": true, "bracketed_paste": true, "hyperlinks": false, "explicit_cursor_positioning": false, "terminal": { "name": "WezTerm", "version": "20240203-110809-5046fc22", "from_xtversion": true } } }Strange... with Alacritty I have this:
akhansari commentedon Jan 27, 2026
Maybe this is related to wezterm/wezterm#6287
doums commentedon Jan 27, 2026
Ghostty (numbers work here)
fix(input): set printable sequence for modifyOtherKeys chars
simonklee commentedon Jan 29, 2026
ℹ️ This issue will be resolved once we bump opentui and cut a release.
doums commentedon Feb 27, 2026
Hi, I confirm on Wezterm, X11, the issue has been fixed.
akhansari commentedon Feb 27, 2026
Yes it's fixed. Thanks.