Skip to content

[Bug] Session list focus jumps randomly when deleting via Ctrl+D in v1.1.25 (regression from #5466) #9236

Closed

Description

@chrisFxxk

Description
Issue #5466 was supposedly fixed in PR #5666 (released in v1.0.165), but the problem persists in v1.1.25.
When pressing Ctrl+D to delete a session in the session list, the focus/selection jumps randomly to other sessions instead of staying on the intended target. This makes it nearly impossible to reliably delete specific sessions.
OpenCode version
1.1.25
Steps to reproduce

  1. Open OpenCode TUI
  2. Have multiple sessions available
  3. Press Ctrl+X, L to open the session list
  4. Navigate to a non-current session using arrow keys
  5. Press Ctrl+D to mark it for deletion
  6. Expected: Focus stays on the selected session, confirmation prompt appears
  7. Actual: Focus jumps randomly to another session in the list
    Additional context

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 18, 2026
  2. github-actions commented on Jan 18, 2026

    @github-actions
    Contributor

    This issue appears to be a continuation or regression of an existing issue. Please check:

    This is the original report of the same problem that was supposed to be fixed in PR #5666 for v1.0.165, but the issue has resurfaced in v1.1.25.

    Feel free to ignore if you believe this is a distinct case with different root cause.

  3. github-actions commented on Mar 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions