Skip to content

fix(viewport): remove extra line in viewport help #816

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

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

caarlos0
Copy link
Member

the height calculation was counting the empty line as well, which was incorrect.

this fixes the extra empty line in the bottom.

@caarlos0 caarlos0 added bug Something isn't working cmd/pager labels Jan 21, 2025
@caarlos0 caarlos0 self-assigned this Jan 21, 2025
@caarlos0 caarlos0 requested a review from a team as a code owner January 21, 2025 20:02
@caarlos0 caarlos0 requested review from bashbunni and removed request for a team January 21, 2025 20:02
@caarlos0 caarlos0 merged commit 7e3216e into main Jan 21, 2025
14 checks passed
@caarlos0 caarlos0 deleted the viewport-help branch January 21, 2025 22:33
@bashbunni bashbunni added this to the v0.15.1 milestone Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cmd/pager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants