Skip to content

Fix description layout when the option list is scrolled - #174

Merged
aisk merged 1 commit into
masterfrom
fix-description-scrolling
Nov 21, 2026
Merged

aisk merged 1 commit into
masterfrom
fix-description-scrolling

Conversation

@aisk

@aisk aisk commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

When the option list is scrolled, draw() compared the visible row index with title_length, so the top rows weren't truncated and the description was drawn next to the wrong option. Now uses the absolute line index, and draws the description at the top of the visible option area.

@aisk
aisk force-pushed the fix-description-scrolling branch from 04d1361 to 941436e Compare November 21, 2026 17:05
@aisk
aisk merged commit 0db74c2 into master Nov 21, 2026
17 checks passed
@aisk
aisk deleted the fix-description-scrolling branch November 21, 2026 17:07
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.

1 participant