Skip to content

Enter key and inputs not registering in interactive menus (WSL) #329

Closed

Description

@Copystrike

Expected Behavior

When navigating Command Code interactive menus, pressing the "Enter" key or providing standard inputs should register the selection and proceed to the next step. Ctrl + C should immediately terminate the process.

Actual Behavior

Inputs do not register at all across any of the interactive menus, leaving the user completely stuck. Specifically, the "Enter" key does not work, though Shift + Tab does register. Additionally, attempting to abort the process using Ctrl + C is unresponsive and requires the user to "spam" the keystroke before it eventually listens. This issue is persistent and happens 100% of the time, completely blocking usage of the menus.

Command Code Version

0.25.5

Operating System

Windows

Terminal/IDE

VS Code integrated terminal, Windows Terminal, Tmux

Shell

Zsh, Bash

Additional context

This issue was discussed in the Discord channel. It was noted that this happens continuously ("all the time") and prevents getting past any of the menus. It happens across different terminals and shells within the WSL environment.

I've uploaded a video here:
https://discord.com/channels/1255220079029653626/1501338502003163338/1501663962117312583

Activity

  1. naymurdev commented on May 6, 2026

    @naymurdev

    Hello @Copystrike , sorry to hear you're still facing this issue.

    I’m also on Windows, but I don’t run everything through Windows terminals directly. I mainly use Ubuntu/WSL terminal, and it’s been working fine for me without these kinds of issues.

    From what you mentioned, you’re using VS Code, Windows Terminal, zsh, bash, and tmux and the issue might be coming from how tmux or the terminal layer is interacting with WSL.

    What works for me is a much simpler flow:

    • I open Ubuntu (WSL) directly from Windows Search
    • Navigate to my project inside the Ubuntu terminal
    • Run: code .
    • Then I use VS Code from that session

    When VS Code opens this way, you’ll see WSL: Ubuntu in the bottom-left corner. That’s important because it means VS Code is running inside Linux (WSL), not native Windows. This avoids a lot of path, shell, and environment issues

  2. vipulgupta2048 commented on May 18, 2026

    @vipulgupta2048
    Contributor

    Please confirm if you are still facing this issue? Closing this one out till then. Feel free to comment/open it again.

  3. Copystrike commented on May 18, 2026

    @Copystrike
    Author
    Image

    @vipulgupta2048 Its still happening, only progression now is that I can use my arrow keys and use the esc button once to stop it but still I cannot press enter or a number.

    I cannot reopen this issue.

  4. saqibameen commented on May 19, 2026

    @saqibameen
    Member

    @asharirfan @arre-ankit was this issue resolved on windows?

  5. asharirfan commented on May 19, 2026

    @asharirfan
    Member

    @Copystrike I just tested Command Code in WSL with both Git bash and Windows Terminal. The enter key is working as expected. Even the numbers are working correctly.

    Can you please let us know anything else about your setup that can help us debug this issue?

    Image
  6. naymurdev commented on Jun 4, 2026

    @naymurdev

    @Copystrike Sorry you're still facing this issue. @asharirfan and I both tested it on WSL using VS Code terminal, the native WSL terminal, and even PowerShell with WSL.
    So my main question is: Are you actually using WSL, or are you just using PowerShell? I saw in the title that you mentioned WSL, but since it's working fine for both of us, I just want to understand your exact setup and what version you're on.

    Here's my WSL version for reference:
    WSL version: 2.7.3.0
    Kernel version: 6.6.114.1-1
    WSLg version: 1.0.73
    MSRDC version: 1.2.6676
    Direct3D version: 1.611.1-81528511
    DXCore version: 10.0.26100.1-240331-1435.ge-release
    Windows version: 10.0.19045.6466

  7. lehuuphuc commented on Jun 11, 2026

    @lehuuphuc

    I am using MacOS 26.5.1

    I have the same issue: cannot use arrow up/down or enter key to confirm a selection (arrow left/right still works).

    Suggestion: While the bug is under investigation, consider defining shortcuts for each selection item (e.g., "cmd + 1" for option #1).

  8. naymurdev commented on Jun 11, 2026

    @naymurdev

    Yes, we're working on this issue and will ship the fix very soon

    Thanks for reporting

  9. asharirfan commented on Jun 11, 2026

    @asharirfan
    Member

    I am using MacOS 26.5.1

    I have the same issue: cannot use arrow up/down or enter key to confirm a selection (arrow left/right still works).

    Suggestion: While the bug is under investigation, consider defining shortcuts for each selection item (e.g., "cmd + 1" for option #1).

    @lehuuphuc Which terminal are you using? Also, which version of Command Code are you using?

  10. added and removed on Jun 11, 2026
  11. lehuuphuc commented on Jun 12, 2026

    @lehuuphuc

    @asharirfan
    I am using the latest version (v0.35.0) on the MacOS default terminal, but I also experience the same issue with Warp and the VSCode terminal.
    I just started using CommandCode yesterday, and it appears to be a critical blocker for me.

  12. asharirfan commented on Jun 12, 2026

    @asharirfan
    Member

    @lehuuphuc Warp as in the VPN service?

  13. lehuuphuc commented on Jun 13, 2026

    @lehuuphuc

    @asharirfan
    I meant Warp terminal at warp.dev

  14. vipulgupta2048 commented on Aug 4, 2026

    @vipulgupta2048
    Contributor

    Thanks for letting us know, working on this. cc: @naymurdev
    Just a quick check, is this still a issue on latest v1 of Command Code?

  15. naymurdev commented on Aug 6, 2026

    @naymurdev

    I just checked it again and I didn’t face the issue in Warp terminal or other terminals either. So @lehuuphuc , can you confirm that you guys are still facing this issue in v1? v1 is the most capable version of CommandCode, so try it and let us know

  16. naymurdev commented on Aug 14, 2026

    @naymurdev

    Closing this PR. If you still face the issue, please reopen it.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions