CommandCodeAI / CommandCodeAI/command-code

Scroll bar at the top

Open
#737 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Command Code through the Tabby terminal on Linux with zsh, using an interactive question or multiple-choice prompt. Trace the entry point that renders interactive prompts and handles terminal viewport or scroll position. Done means the prompt remains visible at the bottom while normal output continues to behave as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, zsh
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.