Repository navigation
Add scrolling support to Parent Mode menu - #25
Merged
Merged
Conversation
The menu had grown to 10 entries, pushing the last rows past the footer at 640x480. Reuse the top/visible windowing idiom from the multi-select screens, with one fewer visible row when the 'No decks yet' notice needs space below the list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ddufwnk7A9JuijaK6XdTuH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implemented scrolling functionality for the Parent Mode menu to handle cases where the menu entries exceed the visible display area.
Key Changes
topvariable to track the scroll position of the menu listvisiblevariable that dynamically adjusts based on whether a notice is displayed (6 lines with notice, 7 without)toptotop + visible)top = min(max(top, index - visible + 1), index)Implementation Details
https://claude.ai/code/session_01Ddufwnk7A9JuijaK6XdTuH