-
Notifications
You must be signed in to change notification settings - Fork 245
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
allow scrolling past last entry / first entry #727
allow scrolling past last entry / first entry #727
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other functions here like scroll_up
need to be refactored aswell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in another comment, linutil core will panic on an empty tab array. Better error handling there may be a good idea, but the output of the function should still absolutely be guaranteed to not be empty; otherwise undefined behaviour could occur during UI rendering.
Co-authored-by: Liam <[email protected]>
Co-authored-by: Liam <[email protected]>
You missed 2, @lj3954 |
Co-authored-by: Adam Perkowski <[email protected]>
Co-authored-by: Adam Perkowski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
No, those are wrong. The item list can be empty if a search term not matching anything is entered. You should get a panic with those changes applied in that case. |
Absolutely not. The item list can be empty, since a search can come up with no results. Only the tab list should be expected not to be empty. |
c0ec78b
to
544cbd4
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@nnyyxxxx i meant |
watch the video
regular scrolling and tab scrolling NEEDS to be separated, without separation, we wont be able to properly handle subdir cases
Type of Change
Description
wraps the user to the top of the list or to the bottom of the list depending on where they are at
example:
2024-10-02-01-34-18.mp4