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

Hide elevator if a window is close #6

Closed
wants to merge 1 commit into from

Conversation

nda-cunh
Copy link

@nda-cunh nda-cunh commented Dec 7, 2024

when a window is closed, the elevator is ever print
example: when we close a nerdtree window or a terminal window (:Term)

@noscript
Copy link
Owner

Somehow I cannot reproduce this. Closing a window triggers WinScrolled which will re-show scrollbar in the current window and close it after timeout.

@nda-cunh
Copy link
Author

yes, sorry, I misspoke, I didn't mean that it's always displayed, but it does disappear after the timeout, but it remains for a while, which makes the visual ugly because there's a scrollbar in the center of the screen.
with this event the scrollbar is close immediately

@noscript
Copy link
Owner

I see the point, I suppose there can be a situation that WinScrolled is not triggered when closing a window.

However the approach is not right, WinLeave is for switching to another window.

Could you please try the latest master? It possibly addresses the problem already.

@nda-cunh
Copy link
Author

your update have fix the problem thank !

@nda-cunh nda-cunh closed this Jan 22, 2025
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