CodeWhale icon indicating copy to clipboard operation
CodeWhale copied to clipboard

TUI: 长内容溢出屏幕时鼠标滚轮只作用在输入历史区而非内容区

Open wangdsen opened this issue 3 months ago • 1 comments

问题描述

当对话产生较长回复、内容超出屏幕高度时,使用鼠标滚轮(触控板双指滑动)期望滚动查看上方内容,但滚轮事件被路由到了输入框的历史缓冲区(上下切换历史输入),而不是内容区域。

复现步骤

  1. 发起一个会产生较长回复的对话(内容超过一屏)
  2. 用鼠标滚轮或触控板双指尝试向上滚动查看内容区
  3. 观察:内容区没有滚动,输入框的历史消息在切换

环境

  • macOS + iTerm2
  • Codewhale 0.9.3

临时绕过

Cmd + 上箭头(iTerm2 原生回滚缓冲区)可以查看历史内容,但这不是 TUI 内部的滚动。

期望行为

鼠标滚轮应当作用在内容区域进行上下滚动;输入历史切换应该用其他方式(如上下箭头键)。

wangdsen avatar Aug 03 '26 11:08 wangdsen

Thanks @bittree9527 for the report.

This issue is staying open for maintainer triage. CodeWhale gets better because people bring us real edge cases from real machines, providers, regions, and workflows.

If you can add a reproduction, logs, version output, screenshots, or the provider/model involved, that makes it much easier for us to verify and harvest the fix. Maintainers may comment /lgtmi to mark recurring issue reporters as approved so this intake note is skipped next time.

github-actions[bot] avatar Aug 03 '26 11:08 github-actions[bot]