Skip to content

在windows终端中,TUI无法选中文本复制 #2379

@jqstrong

Description

@jqstrong

环境

  • 操作系统:Windows 11
  • 终端:Windows Terminal 1.24
  • Reasonixreasonix --version 0.53.2
  • Shell:PowerShell

问题描述

在 Windows Terminal 中运行 Reasonix/Claude Code 的 TUI 模式时,无法用鼠标拖选界面中的文本进行复制。鼠标拖拽无反应,或者选中行为被 TUI 吞掉了。

期望行为

能够像普通终端输出一样,用鼠标选中 TUI 中显示的代码块、文件路径等文本内容,然后通过 Ctrl+C 或右键菜单复制到剪贴板。

实际行为

  • 鼠标在 TUI 区域内拖拽无法选中任何文本
  • 尝试用 Ctrl+Shift+C(Windows Terminal 默认复制快捷键)也无法复制 TUI 中的内容
  • (如果有其他现象请补充,例如:选中后复制的是空白、选中区域闪烁后消失等)

复现步骤

  1. 打开 Windows Terminal
  2. 运行 reasonix 进入 TUI 模式
  3. 等待助手回复一段包含代码的内容
  4. 尝试用鼠标拖选代码文本
  5. 观察到无法选中

备注

  • 在普通终端输出(非 TUI 模式)中,鼠标选中和复制功能正常
  • 这在使用体验上影响较大,因为经常需要复制助手的代码建议到编辑器中

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions