Skip to content

[Bug] 推理过程中向上滚动内容会直接跳转到顶部 / Scrolling up during reasoning jumps to top #1606

@lunqin123

Description

@lunqin123

Bug Description / 问题描述

当 Reasonix 正在推理(thinking)时,如果使用鼠标滚轮或触控板向上滚动查看之前的推理内容,内容会直接跳转到终端的最顶部(从头开始显示),而不是逐行向上滚动。这导致无法流畅地回顾之前的推理步骤。

Scrolling up to review previous reasoning content causes the view to jump directly to the top of the terminal, instead of scrolling line by line. This makes it difficult to smoothly review prior reasoning steps.

Expected Behavior / 期望行为

向上滚动时应该逐行滚动,而不是直接跳到顶部。或者至少应该支持类似 less 的分页滚动行为(如 Shift+PageUp/PageDown)。

Scrolling up should move line by line, not jump to the very top. At minimum, paged scrolling (e.g. Shift+PageUp/PageDown) should work for reviewing past content.


Feature Request / 功能建议

1. 终端标签页显示对话主题 / Show conversation topic in terminal tab title

建议在终端标签页或标题栏显示当前对话的主题/摘要(例如基于第一条消息或用户设置的主题),方便在多标签页中区分不同会话。

2. 终端标签页添加 Reasonix 图标 / Add Reasonix icon to terminal tab

建议在终端标签页标题旁边显示 Reasonix 的 logo/图标(例如 ASCII art 或操作系统原生的 tab icon),使标签页更容易识别。如果是 Windows Terminal,可以使用 setting.json 中定义的图标路径。

Environment / 环境信息

Item Value
OS Windows 11 家庭中文版 10.0.26200
Shell GNU bash 5.2.37(1)-release (x86_64-pc-msys) / Git Bash (MINGW64)
Terminal Git Bash (MINGW64_NT-10.0-26200) / Windows Console
Node.js v24.14.1
npm 11.13.0
Reasonix 0.49.0
Platform win32 x64
Installation npm install -g reasonix

Additional Context / 补充

  • 我在 Windows Terminal(wt.exe)和 Git Bash 原始终端中都遇到过这个问题。
  • 其他基于终端的工具(如 htop, less, vim)在同等条件下滚动表现正常,因此可能是 Reasonix 的终端渲染逻辑导致的。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions