Skip to content

Mouse clicks fail in 2.4.1 on ConEmu / Windows build 17763; works in 2.3.1 #65894

Done

Description

@bwminich

Description

Mouse clicking is wonky with 2.4.1. Basically, I cannot click in the OpenCode Window. Tab clicking no longer works. (which is the biggest issue). Scrolling works. Clicking a mouse in the command line area does change the position of the cursor. But clicking tabs is useless, as is clicking the Ctrl+P menu. I can use the keyboard shortcuts, but I would like my full clicks back.

Plugins

No response

OpenCode version

2.4.1

Steps to reproduce

  1. In ConEmu, open a PowerShell console with scrollback disabled: powershell.exe -NoProfile -new_console:h0.
  2. Launch OpenCode 2.4.1 with --standalone, fresh separate XDG_CONFIG_HOME, XDG_DATA_HOME, XDG_CACHE_HOME and XDG_STATE_HOME directories, a separate OPENCODE_DB, and a fresh OPENCODE_TEST_HOME/OPENCODE_CONFIG_DIR. Clear inherited OPENCODE_* overrides before setting these test values. Use the isolated config directory as the working directory.
  3. Set OPENCODE_CLI_CONFIG_CONTENT to {"mouse":true,"animations":false,"experimental":{"new-designs":false}}.
  4. Open the Ctrl+P command palette and click an entry; also test session tab clicks and wheel scrolling in a long menu.
  5. Repeat with OpenCode 2.3.1 in the same ConEmu setup, using a separate fresh set of directories and the same inline settings.

Screenshot

No response

Operating System

OS: Windows NT 10.0.17763, x64

Terminal

ConEmu 230724 [64] Stable

Activity

  1. added
    area/tui
    type/bug
    version/v2
    on Nov 23, 2026
  2. opencodejr commented on Nov 23, 2026

    @opencodejr
    Contributor

    Thanks for the detailed report and the side-by-side steps for 2.3.1 and 2.4.1.

    I couldn't reproduce this here: it needs Windows 10 build 17763 with ConEmu, and the environment I test in only runs Linux. Its mouse testing also skips the terminal's own mouse handling, which is where the difference between 2.3.1 and 2.4.1 seems to be. A maintainer with a Windows machine will need to look at it.

    In the meantime, the keyboard shortcuts you mentioned are the workaround. If you can, these would help narrow it down:

    • Does clicking work in 2.4.1 in a plain PowerShell window (conhost), outside ConEmu?
    • Does 2.4.0 behave like 2.3.1 or like 2.4.1?
  3. bwminich commented on Nov 23, 2026

    @bwminich
    Author
  4. itzzjustmateo commented on Nov 28, 2026

    @itzzjustmateo

    Oh! I wanted to report this issue too! But then I saw this!

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

    area/tuiplatform/windowstype/bugversion/v2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions