Skip to content

Fix line count handling in snapshot output rendering#305039

Open
DonJayamanne wants to merge 2 commits intomainfrom
don/agreed-guineafowl
Open

Fix line count handling in snapshot output rendering#305039
DonJayamanne wants to merge 2 commits intomainfrom
don/agreed-guineafowl

Conversation

@DonJayamanne
Copy link
Contributor

Fixes #303265

Copilot AI review requested due to automatic review settings March 26, 2026 05:04
@DonJayamanne DonJayamanne self-assigned this Mar 26, 2026
@vs-code-engineering vs-code-engineering bot added this to the 1.114.0 milestone Mar 26, 2026
@DonJayamanne DonJayamanne requested a review from meganrogge March 26, 2026 05:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes truncated/missing terminal snapshot output rendering in the chat terminal tool progress UI (notably affecting Copilot CLI sessions) by ensuring layout calculations don’t incorrectly fall back to 0 lines when lineCount isn’t present.

Changes:

  • Preserve the previously rendered line count when re-laying out an existing snapshot mirror and the incoming snapshot omits lineCount.

@DonJayamanne DonJayamanne marked this pull request as ready for review March 26, 2026 05:18
Copy link
Collaborator

@meganrogge meganrogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When/why does this occur?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

terminal output is missing when using Copilot CLI

3 participants