Skip to content

Bug: Cannot type spacebar character in CLI input #2198

Description

@Drakaniia

What happened?

I am unable to type the spacebar character when using Qwen Code CLI. When I press the space key, nothing appears in the input field, making it impossible to type commands or prompts that require spaces between words.

What did you expect to happen?

Pressing the spacebar should insert a space character in the input field, allowing me to type normal text with spaces between words, just like any other printable character.

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

$ qwen /about
# Please paste the output here

Login information

Please specify how you are logging in (e.g., API Config, OAuth, etc.).

Anything else we need to know?

Environment details:

  • Operating System: [e.g., Windows 11, macOS, Linux]
  • Terminal: [e.g., Windows Terminal, PowerShell, CMD, kitty, ghostty, etc.]
  • Qwen Code version: [please run /about to get the version]

Additional context:

  • Does this happen in all terminals or just specific ones?
  • Did this issue start after a recent update?
  • Are other keys working normally?
  • Any error messages in the console?

Note: I found previous issues (#2123, #2100) about spacebar not working that were supposedly fixed in PR #2130 and PR #1827 with Kitty CSI-u support, but I'm still experiencing this issue.

Metadata

Metadata

Assignees

No one assigned

    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