Don't crash on Enter or Down when the list is empty (#1) #30
Loading…
Reference in a new issue
No description provided.
Delete branch "eric/fix-1-empty-list-crash"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Browse mode indexed the list without checking it had anything in it. Enter now does nothing on an empty list, and Down/j no longer compute
len() - 1(which underflowed).Checked in the real app: an empty video folder, and a filter that matches nothing — Down, j and Enter do nothing, no crash.
Closes #1
🤖 Generated with Claude Code