Skip to content

feat: support for international keyboards #4994

Closed

Description

@eduardosantos1989

What feature would you like to see?

Please add this as match arm because for non-us key layout most special characters and clipboard is not working as expected:
codex-rs\tui\src\bottom_pane\textarea.rs

    pub fn input(&mut self, event: KeyEvent) {
        match event {
...
            KeyEvent { code: KeyCode::Char(c), modifiers, .. }
                if cfg!(windows)
                    && modifiers.contains(KeyModifiers::ALT)
                    && modifiers.contains(KeyModifiers::CONTROL)
                    // Do not treat common Ctrl+Alt letter shortcuts as text insertion.
                    && !matches!(c, 'h') =>
            {
                self.insert_str(&c.to_string())
            }
            _o => {
                #[cfg(feature = "debug-logs")]
                tracing::debug!("Unhandled key event in TextArea: {:?}", _o);
            }
        }

Additional information

No response

Activity

  1. added
    enhancement
    on Oct 9, 2025
  2. added
    windows-os
    on Oct 9, 2025
  3. eduardosantos1989 commented on Oct 9, 2025

    @eduardosantos1989
    Author
  4. changed the title [-]support for international keyboards[/-] [+]feat: support for international keyboards[/+] on Oct 9, 2025
  5. tobiaswaggoner commented on Nov 14, 2025

    @tobiaswaggoner

    Makes we wonder how many people outside the US are actually using Codex CLI. Seems like a showstopper to me. As a longtime claude code and gemini CLI user I thought I`d give OpenAI another shot, but this stopped me immediately. This fix seems straightforward, but the problem is around for months now. Do I miss something? Is there a solution apart from switching to a US keyboard layout?

  6. added
    bug
    and removed
    enhancement
    on Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions