Skip to content

[BUG] Scroll not working properly in VS Code terminal on status/config screens when window height is below certain threshold #16586

@lolkain

Description

@lolkain

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When viewing status or config screens (e.g., /status, /config) in VS Code's integrated terminal, scrolling behavior is broken depending on terminal height.

Actual behavior:

  • When terminal height is large enough: scrolling works
  • When terminal height is below a certain threshold: scrolling doesn't work and the screen "jitters/flickers" repeatedly

What Should Happen?

Normal scrolling should work

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code in VS Code integrated terminal
  2. Enter a status/config screen (e.g., /status or /config)
  3. Try to scroll with mouse wheel

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.76

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Likely related to alternate screen buffer handling and re-rendering loop when there's no scrollable area in status/config views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions