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

fix: limit visible spinners to terminal height #74

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

yarlson
Copy link
Contributor

@yarlson yarlson commented Dec 2, 2024

Add terminal height detection and show only last N spinners that fit in viewport. Prevents scroll buffer overflow when number of spinners exceeds terminal height.

Addresses #66

Add terminal height detection and show only last N spinners that
fit in viewport. Prevents scroll buffer overflow when number of
spinners exceeds terminal height.
@chelnak
Copy link
Owner

chelnak commented Dec 2, 2024

Hey, thanks for the patch.

It looks pretty good to me. I'll pull down the PR soon and take it for a spin.

All being well, I'll merge and cut a release 🎉

Copy link
Owner

@chelnak chelnak left a comment

Choose a reason for hiding this comment

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

Seems good on both Windows and Mac!

Thanks!

@chelnak chelnak merged commit 48356dd into chelnak:main Dec 2, 2024
1 check passed
@chelnak chelnak added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants