CommandCodeAI / CommandCodeAI/command-code

Terminal scroll position jumps back to the bottom when scrolling up

Open
#544 13 comments 1 reaction 1 assignee View on GitHub

@aliarain is already working on this.

Since Jul 2, 2026.

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

Description

Summary

When I try to scroll up in the integrated terminal, the scroll position automatically jumps back to the bottom, making it impossible to read previous output.

This consistently happens whenever I expand content in the terminal, especially execution plans, using the Ctrl + O shortcut.

Expected Behavior

The terminal should remain at the user's chosen scroll position until I explicitly scroll back to the bottom.

Actual Behavior

The terminal continuously jumps back to the bottom while I'm trying to scroll up, making it difficult or impossible to inspect expanded output.

Steps to reproduce the issue

Generate output that can be expanded (e.g. an execution plan).
Expand it using Ctrl + O.
Try to scroll up to read the expanded content.
The terminal immediately jumps back to the bottom.

Command Code Version

0.41.0

Operating System

Windows

Terminal/IDE

PowerShell 7.6.3

Shell

No response

Additional context

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.