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

Add fixed height option(Addresses #270) #326

Merged
merged 3 commits into from
Feb 18, 2023
Merged

Conversation

merrittlj
Copy link
Contributor

Add a option to make the menu have a fixed height while in vertical mode using --fixed-height. This prevents the menu from shrinking or expanding while filtering through items.

I modified how the filtered item count is set for the counter(getting the filtered item count directly rather than relying on menu->filtered.count) for the sake of efficiency, and it fixed a bug with the counter in vertical mode.

Closes #270

@merrittlj
Copy link
Contributor Author

@Cloudef Any update on this?

@merrittlj
Copy link
Contributor Author

Should be ready to merge.

@merrittlj
Copy link
Contributor Author

@Cloudef Any update on this? It's ready, and I've seen discussion about this feature on other issues.

@aarobc
Copy link

aarobc commented Feb 1, 2023

Please merge, this would be great to have.

@Cloudef Cloudef merged commit d9ac320 into Cloudef:master Feb 18, 2023
@Cloudef
Copy link
Owner

Cloudef commented Feb 18, 2023

Merged thanks!

@adastx
Copy link
Contributor

adastx commented May 19, 2023

--fixed-height option is only listed in the --help output, seem to be missing from the manpage.

@merrittlj
Copy link
Contributor Author

I completely missed that. You can create a PR about it if you want, as I may not fix this anytime soon.

@adastx
Copy link
Contributor

adastx commented May 19, 2023

Created it :) #344.

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.

[Feature Request] fixed height
4 participants