Repository navigation
Fix overlays navigation during search and after resizing - #31
Conversation
gmist
commented
Oct 7, 2026
- Keep rows visible in overlays popup lists when filtering or resizing the terminal.
- In bookmarks, servers, and tabs, pressing Enter with no search matches clears the filter and restores the full list. Fixes Filter overlays get stuck on an empty list after Enter with no matches #29.
|
Great addition @gmist ! A few things on the new scroll code: 1. It only moves the offset to keep the cursor in view. It has no item count, so it can't cap the offset at 2. The same three lines already exist in 3. The
|
|
|
thanks! one small issue remains: panel still keeps blank rows after a resize. panel.SetSize doesn’t call clampOffset(), so shrinking and then growing the terminal leaves the same blank rows in the main file panels. Scroll only fixes itself on the next key press that moves the cursor. |
|
I missed that point. Done. |
|
Thanks, looks great now! |