CommandCodeAI / CommandCodeAI/command-code

Scroll bar at the top

未關閉
#737 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

描述

Summary

Whenever Command Code displays an interactive question or a list of choices, the Tabby terminal viewport automatically jumps to the top of the terminal history.

As a result, the newly displayed question is no longer visible, and I must manually scroll back to the bottom before I can read and answer it.

I am using Tabby (termninal interface) -on linux

Image
Expected Behavior

The terminal should remain scrolled to the bottom so that the interactive question and its available choices are immediately visible.

Actual Behavior

The terminal viewport jumps to the top of the scrollback history whenever an interactive question appears. I must manually scroll back to the bottom to see and answer the question.
This happens every time Command Code presents an interactive question or choice prompt.

Steps to reproduce the issue

Open Command Code in the Tabby terminal on Linux.
Start a session that causes Command Code to display an interactive question or multiple-choice prompt.
Wait for the question to appear.
Observe the terminal’s scroll position.

Command Code Version

Command Code version: Latest available version as of August 23, 2026
Operating system: Linux
Terminal: Tabby
Shell: zsh

Operating System

Linux

Terminal/IDE

No response

Shell

zsh

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

The issue appears to be related to how the terminal viewport or scroll position is handled when an interactive prompt is rendered. Normal output does not appear to require this manual scrolling.
No response

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先在 Linux 上使用 zsh,透過 Tabby 終端機在 Command Code 中重現此問題,使用互動式問題或多選提示。追蹤負責呈現互動式提示並處理終端機 viewport 或捲動位置的進入點。當提示保持顯示在底部,同時一般輸出持續如預期運作時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
linux, zsh
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。