Skip to content

v1.3.111

Choose a tag to compare

@topcheer topcheer released this 03 Jul 19:19
· 3710 commits to main since this release

v1.3.111

Bug Fixes

Fixed index-out-of-bounds panic in file browser with empty entries

When the file browser's entry list was empty (e.g., filter matching nothing or
empty directory), pressing Enter, Right, or Left would panic at
state.entries[state.selected] because there was no bounds check after
resolveFileBrowserSelection returned early on empty entries.

The fix adds an early guard in handleFileBrowserKey: if entries is empty,
only escape/filter-clear/backspace keys are processed; all other keys are
swallowed to prevent panic.