-
Notifications
You must be signed in to change notification settings - Fork 255
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
Feature: half page scrolling #774
Feature: half page scrolling #774
Conversation
Is there a way to get the height of the dialog, to be able to calculate half a page? |
Not yet off the top of my head, would have to store that somewhere when drawn, which is something I wanted to do in the future for stuff outside of just widgets. |
Sorry for the delay btw, I'll try to review once I get internet up where I am. |
Codecov Report
@@ Coverage Diff @@
## master #774 +/- ##
==========================================
- Coverage 24.12% 24.04% -0.09%
==========================================
Files 60 60
Lines 12982 13030 +48
==========================================
+ Hits 3132 3133 +1
- Misses 9850 9897 +47
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
LGTM for the most part. I added an extra field to track the height and fixed a tiny bug with menu scrolling sometimes overshooting (the name @all-contributors please add @ViridiCanis for code |
I've put up a pull request to add @ViridiCanis! 🎉 |
Description
adds Ctrl-u/Ctrl-d for scrolling half a page
Issue
Closes: #765
Testing
If relevant, please state how this was tested. All changes must be tested to work:
Please also indicate which platforms were tested. All platforms directly affected by the change must be tested:
Checklist
If relevant, ensure the following have been met:
cargo fmt
)README.md
, help menu, etc.)