forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When a session has been marked down for deletion in the session_list using Ctrl+D and is then unselected - for instance by striking the up or down arrow keys, the viewport in the session_list window unexpectedly moves to some unpredictable position (usually not including the now-selected item).
This is unintuitive and startling behaviour. If the up or down arrow keys are struck while an item is a marked for deletion, the item should be unmarked and the selection should be moved upwards or downwards in the session_list without causing the viewport to jump.
Plugins
None
OpenCode version
HEAD of dev at time of issue submission
Steps to reproduce
- Open the
session_listand mark an item for deletion. - Mark an item for deletion with control+d.
- Observe that the viewport jumps to a position that does not include the current selection.
Screenshot and/or share link
Initial state: item marked for deletion:
After hitting 'up' key once, selected item not in viewport:
After hitting 'up' key twice, viewport returned to correct position:
Operating System
MacOS Sequoia latest.
Terminal
iTerm2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working