Repository navigation
The cursor stays where its item was after a delete - #58
Merged
Merged
Conversation
Trashing, deleting or moving away the item under the cursor sent the cursor to the first row and the list to its top: the reload restores the cursor by name, the name was gone, and the fallback was row 0. Deleting files one by one down a long folder meant finding the place again after each. - When a remove or a move starts, the tab picks the landing place: the first entry after the cursor that the job leaves, else the last one before it. The reload that misses the cursor's name goes there. A marked block with the cursor inside it therefore ends on the item after the block, however the monitor batches the changes. - A reload that loses the cursor's name for any other reason (another program removed the file) keeps the cursor on the same row, clamped to the last one. The scroll position is kept in both cases, as FAR and Opus do. - The landing place only lives across reloads of the same folder; a new listing drops it. test_window deletes the cursor item, a marked block around the cursor, the last row, and removes a file behind the window's back. Fixes #54 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #54.
🤖 Generated with Claude Code