| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR updates the .NET Harness console UI rendering logic to better handle terminal wrapping and bottom-panel mode switches.
Changes:
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| dotnet/samples/02-agents/Harness/ConsoleReactiveComponents/AnsiEscapes.cs | Adds visible-length calculation for ANSI-styled strings. |
| dotnet/samples/02-agents/Harness/ConsoleReactiveComponents/TextPanel.cs | Updates queued panel height/rendering to account for wrapped physical rows. |
| dotnet/samples/02-agents/Harness/ConsoleReactiveComponents/TextScrollPanel.cs | Updates scroll-panel last-item offset calculation for wrapped rows. |
| dotnet/samples/02-agents/Harness/Harness_Shared_Console/HarnessAppComponent.cs | Passes console width into queued-panel measurement and invalidates bottom child on mode changes. |
dotnet/samples/02-agents/Harness/ConsoleReactiveComponents/TextPanel.cs:58
for (int j = 0; j < lines.Length && currentRow < lineCount; j++)
{
Console.Write(AnsiEscapes.MoveAndEraseLine(props.Y + currentRow));
Console.Write(lines[j]);
currentRow++;
Sorry, something went wrong.
There was a problem hiding this comment.
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)dotnet/samples/02-agents/Harness/ConsoleReactiveComponents/TextPanel.cs:58
int lineCount = CountPhysicalLines(text, props.Width);
for (int j = 0; j < lines.Length && currentRow < lineCount; j++)
{
Console.Write(AnsiEscapes.MoveAndEraseLine(props.Y + currentRow));
Console.Write(lines[j]);
currentRow++;
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Motivation and Context
Description
Contribution Checklist