Skip to content

In version 1.1.23, the issue of the mouse wheel triggering abnormal ASCII codes after exiting reappeared. #8908

@HWOUq1xd7c

Description

@HWOUq1xd7c

Description

Installation tools: npm & bun(both shown same bug)

Symptom: After exiting the terminal using Ctrl + C, mouse movement or scrolling will trigger garbled characters.

Note: This issue does not exist after installing version 1.1.21 using scoop.

Note: I changed the display format of PowerShell's working directory(For example, the double ">" symbol, and colored work paths.), but testing showed that this change was unrelated to the problem.

Plugins

    "opencode-devcontainers",         "@tarquinen/opencode-dcp",         "opencode-websearch-cited",         "opencode-pty",         "opencode-supermemory",         "oh-my-opencode"

OpenCode version

1.1.23

Steps to reproduce

  1. Using Windows 11 25H2
  2. install OpenCode 1.1.23 via Windows Terminal using bun/npm
  3. launch OpenCode
  4. immediately exit using Ctrl+C
  5. The problem can then be reproduced by manipulating the mouse.

Screenshot and/or share link

Image

Operating System

Windows 11 25H2

Terminal

Windows Terminal + PowerShell 7.5.4

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions