MoonshotAI / MoonshotAI/kimi-code
滚动位置问题
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
你运行的 Kimi Code 版本是?
0.36.1
你使用的是哪个开放平台/订阅?
Kimi 开放平台
你使用的是哪个模型?
kimi-k2.7-code-highspeed
你的电脑平台是?
Darwin 25.6.0 arm64 arm
你遇到了什么问题?
手动修改 Terminal 窗口大小(无论宽高),滚动位置有问题:
当「输入框在视口之外」,滚动位置跑到顶部,这是有问题的
当「输入框在底部时」,滚动位置不变,这是正确的
复现步骤?
https://github.com/user-attachments/assets/df5413af-0256-405c-959f-85e997174b97
期望的行为是什么?
滚动位置不应该在外部窗口尺寸变化的情况下,有变化
补充信息
No response
Contribution
- 我愿意自己提交修复此 bug 的 PR(请先等待维护者在本 issue 中批准)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named in the issue. Reproduce the terminal resize behavior using the linked video and trace the scroll handling for window-size changes, checking both when the input is outside the viewport and when it is at the bottom. Done means resizing the terminal no longer changes the scroll position unexpectedly in either case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100