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

Update scrollbar on ClientCreate and WinResize #7

Merged
merged 2 commits into from Aug 4, 2021

Conversation

SeerLite
Copy link
Contributor

ClientCreate: The scrollbar wouldn't show on a new window until pressing a key (triggering RawKey) with only WinCreate. Updating on the window's ClientCreate instead of updating the scrollbar immediately in scrollbar-enable fixes this issue. Basically the window waits for a terminal to connect to it before updating it.

WinResize should be self-explanatory ;P

Thank you for making scrollbar.kak!

Makes it so the scrollbar is shown immediately when opening a file, and
also when reconnecting to an older window.
@SeerLite
Copy link
Contributor Author

SeerLite commented Jun 17, 2021

Wait, it looks like the WinResize hook breaks what I was solving with ClientCreate in the first place :/ Not sure why

Edit: mawww/kakoune#4234

@sawdust-and-diamonds sawdust-and-diamonds merged commit f0dffde into sawdust-and-diamonds:main Aug 4, 2021
@sawdust-and-diamonds
Copy link
Owner

sawdust-and-diamonds commented Aug 5, 2021

Thanks for pointing that out—it's essential functionality. And thanks for the appreciation! Right then, let's have a go at making all these changes work together.

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.

None yet

2 participants