Closed rattboi closed 3 years ago
It's possible to select blank slots in the last page of the menu.
This does a lot more last page detection steps, and adjusts the cursor to stay within the range of actual options.
Load up a directory of vec/bin files that is not a multiple of 4. The last page will have a blank spot in it. You should not be able to get to it.
Fixes #57
I, the contributor, agree to license my contributions to this project under the terms of the GPL 3.0 or any later version.
the contributor
Please add your full legal name above, for this PR to be mergeable. If you would prefer to sign a CLA via email, please request that.
Superseded by #73
Problem
It's possible to select blank slots in the last page of the menu.
Solution
This does a lot more last page detection steps, and adjusts the cursor to stay within the range of actual options.
Steps to Test
Load up a directory of vec/bin files that is not a multiple of 4. The last page will have a blank spot in it. You should not be able to get to it.
References
Fixes #57
Contributor License Agreement
I,
the contributor
, agree to license my contributions to this project under the terms of the GPL 3.0 or any later version.