Skip to content

[Bug] Numeric input ignored in WezTerm (but works in Kitty) — Ubuntu 25.10 / Wayland #11325

Closed as not planned

Description

@Phosphate5429

I've narrowed down a very specific input bug: OpenCode is unable to receive numeric input (0-9) exclusively when running inside WezTerm.

The "Curiosity" Factor

This issue is highly specific to the OpenCode + WezTerm combination. To isolate the cause, I performed the following cross-tests on the same machine:

  • Other Terminals: Works perfectly in Kitty.
  • Other CLI Tools: Works perfectly in vim, nano, kilocode, and codex (even inside WezTerm).
  • Environment: The digits are simply ignored only when OpenCode is the active process inside WezTerm.

Environment

  • OS: Ubuntu 25.10 (GNOME / Wayland)
  • Hardware: HP EliteBook 845 G8
  • Terminal Emulator: WezTerm (Fails) vs Kitty (Works)
  • Tool: OpenCode

Steps to Reproduce

  1. Open WezTerm.
  2. Launch OpenCode.
  3. Type any numbers.
  • Observation: No input is registered.
  1. Open Kitty, launch OpenCode, and type numbers.
  • Observation: Works as expected.

Additional Context

Since it works in Kitty and other similar tools like Codex, this might be related to how OpenCode parses specific escape sequences or UTF-8 encoding for digits sent by WezTerm, especially under a Wayland session.

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 30, 2026
  2. github-actions commented on Jan 30, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. Phosphate5429 commented on Jan 30, 2026

    @Phosphate5429
    Author

    yes similar at #10577 but there is a nuance : computer have a keyword in qwerty but ubuntu is in french and sofware in azerty

  4. skerit commented on Mar 16, 2026

    @skerit

    I'm also using an Azerty keyboard, and I use Wezterm.
    I used to have this issue too in 1.1.x, but now in 1.2.27 it works.
    So maybe this can be closed?
    Does it work for you now @Phosphate5429 ?

  5. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  6. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions