Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CSI H sensible when window size is unknown #183

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

DrJosh9000
Copy link
Contributor

What

  • Change CSI H behaviour to be like CSI G plus "newline" (see code comment for explanation)
  • Add Powershell test fixture
  • Swallow and ignore some codes seen in Powershell output that are dropped in other terminals
  • Bump version to v3.16.2

Why

Since there are many pre-buildkite/agent#2806 agents, we don't know the window size, so can't do absolute vertical positioning reliably.

Instead of removing CSI H again, I took a look at one of the recent log garbling reports, for a job which used Powershell, and found some opportunities to improve the quality of life.

v3.15.0:
pwsh-3 15 0

v3.16.1:
pwsh-3 16 1

With this PR:
pwsh-3 16 2

Copy link

@wolfeidau wolfeidau left a comment

Choose a reason for hiding this comment

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

👍🏻 🚀

@DrJosh9000 DrJosh9000 merged commit 368ad5f into main Sep 11, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the csi-h-workarounds branch September 11, 2024 02:55
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.

2 participants