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: missing bottom border #842

Merged
merged 1 commit into from
Jul 18, 2023
Merged

fix: missing bottom border #842

merged 1 commit into from
Jul 18, 2023

Conversation

rockyzhang24
Copy link
Contributor

This PR fixes #841.

The bottom border is missing because when the content is too much, the height of the floating window exceeds the maximum height of the screen. When it happens, we set the floating window height to the maximum height (the maximum height is vim.o.lines subtracting cmdheight and the heights of the top and bottom borders).

image

Thank you.

@lewis6991 lewis6991 merged commit adcf2c7 into lewis6991:main Jul 18, 2023
4 checks passed
@lewis6991
Copy link
Owner

Thanks!

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.

Bottom border is missing when the commit message is too long
2 participants