CommandCodeAI / CommandCodeAI/command-code

Scroll bar at the top

オープン
#737 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
言語のデータがありません
スター
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Linux 上の zsh で Tabby ターミナルを介して Command Code で問題を再現することから始め、対話型の質問または複数選択プロンプトを使用します。対話型プロンプトをレンダリングし、ターミナルのビューポートまたはスクロール位置を処理するエントリポイントを追跡します。通常の出力が期待どおりに動作し続ける間、プロンプトが下部に表示されたままになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
linux, zsh
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。