[Bug]: Cursor disappears in status view after jumping to top
Piturnah opened this issue · comments
Peter Hebden commented
Is there an existing issue for this?
- I have searched the existing issues
Description
I noticed that the cursor sometimes disappears in the status view, causing a panic if you attempt to perform an action on the selected item. Yet to investigate what is causing this.
Expected Behavior
No response
Steps To Reproduce
- Run gex
- Press K to jump to top
- Press k a few times
- Press j a few times
- See error
Environment
- OS: NixOS 23.05
- gex: 0.3.9-dev (32d943385876675c62d95dc81d5e614c4bd600f3)
Anything else?
Edit: It seems I can only replicate this when jumping from the last item...
Peter Hebden commented
Note: this fix is awful and the entire system needs a complete rewrite.