-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
Problem
- When a user presses Ctrl+D to delete a non-active session in the Sessions dialog (Ctrl+X, L), the selection/focus unexpectedly jumps to the currently active session. This prevents reliable deletion of the intended session and risks accidental deletion of the wrong session.
Impact
- Accidental delete of the current working session and forces user to exit to the main screen to delete a session
OpenCode version
1.0.152
Steps to reproduce
- Open OpenCode TUI
- Start a new session
- Open Sessions list (Ctrl+X, L)
- Navigate to a session that is not the currently active session
- Press Ctrl+D to mark it for deletion
- Expected: Confirmation text appears ("Press ctrl+d again to confirm") and selection stays on the intended session
- Actual : Selection jumps to the active session; if user presses Ctrl+D again, the active session gets deleted instead
Screenshot and/or share link
Screen.Recording.2025-12-13.at.8.46.11.AM.mov
Operating System
No response
Terminal
No response
Nindaleth and u-k-g
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui