Piturnah / gex

Git Explorer: cross-platform git workflow improvement tool inspired by Magit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Cursor disappears in status view after jumping to top

Piturnah opened this issue · comments

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

  1. Run gex
  2. Press K to jump to top
  3. Press k a few times
  4. Press j a few times
  5. 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...

Note: this fix is awful and the entire system needs a complete rewrite.