Skip to content

ctrl+c退到直接导致回到shell出现自动序列化问题且无法设置屏蔽ctrl+c #9175

Closed as duplicate

Description

@wang543851600

Description

误触ctrl+c会退出opencode且出现自动序列化刷屏,如下内容:
C:\Users\250G>^[[<35;43;20m^[[<35;43;21m^[[<35;44;21m^[[<35;44;22m^[[<35;44;21m^[[<35;45;21m^[[<35;46;21m^[[<35;46;20m”
[<35;46;21m^[[<35;47;21m^[[<35;47;22m^[[<35;48;22m^[[<35;49;22m^[[<35;50;22m^[[<35;51;23m^[[<35;52;23m^[[<35;53;23m^[[<
5;54;23m^[[<35;55;24m^[[<35;56;24m^[[<35;58;24m^[[<35;59;24m^[[<35;60;25m^[[<35;61;25m^[[<35;63;25m^[[<35;64;25m^[[<35;
5;26m^[[<35;66;26m^[[<35;67;26m^[[<35;66;26m^[[<35;65;26m^[[<35;65;25m^[[<35;64;25m^[[<35;63;24m^[[<35;62;24m^[[<35;61;
4m^[[<35;60;24m^[[<35;59;24m^[[<35;60;24m^[[<35;60;25m^[[<35;59;25m^[[<35;59;26m^[[<35;59;27m^[[<35;58;27m^[[<35;58;28m
[<35;57;28m^[[<35;56;28m^[[<35;55;29m^[[<35;54;29m^[[<35;53;29m^[[<35;52;29m^[[<35;53;29m^[[<35;54;29m^[[<35;55;29m^[[·
43;56;29m^[[<43;57;29m^[[<43;58;29m^[[<43;59;29m^[[<43;61;29m^[[<43;62;29m^[[<43;63;29m^[[<43;65;29m^[[<43;67;29m^[[<43
69;29m^[[<43;72;29m^[[<43; 74;30m^[[<43;76;30m^[[<43;78;30m^[[<43;79;30m^[[<43;80;30m^[[<43;81;30m^[[<43;82;30m^[[<43;81
30m^[[<43;80;30m^[a^[[<43;79;30m^[[<43;79;29m^[[<43;78;29m^[[<43;77;29m^[[<43;76;29m^[[<43;75;29m^[[<43;74;29m^[[<43;73
29m^[[<43;72;29m^[a^[[<59;71;29m^[[<59;70;29m^[[<59;69;29m^[[<59;68;29m^[[<59;67;29m^[[<59;66;29m^[[<59;65;29m^[[<59;64
29m^[[<59;63;29m′
A[[<59
2:29m
·[[<59;50;28m^[[<59;48;28|

Plugins

没有插件

OpenCode version

好几个版本一直到最新版本1.1.25都是这个问题

Steps to reproduce

任意bash终端打开opencode随便打几个字,然后用鼠标选中一些文字按ctrl+c就会复现,他还退出opencode回到shell命令行自动刷屏序列化且不关闭窗口无法停止

Screenshot and/or share link

Image

Operating System

windows 10专业版

Terminal

Windows Terminal以及cmd和PowerShel都会出现这个问题

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 18, 2026
  2. github-actions commented on Jan 18, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Jan 18, 2026

    @rekram1-node
    Collaborator

    this is a bug in bun, workin on fix

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

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions