Skip to content

[UX] Ctrl+D to delete session too easily exits the app #13950

Closed

Description

@uriva

Description

Pressing Ctrl+D twice to delete a session is problematic because the same keybind also exits the application. In practice, if you press Ctrl+D once and then press it again slightly later — or accidentally press it when not in the session list — it exits the entire app.

This happens constantly during normal usage. You intend to delete a session, but the double-press of Ctrl+D is interpreted as "exit the app" instead. Losing the app state to an accidental exit is really frustrating.

Steps to Reproduce

  1. Open OpenCode TUI
  2. Press Ctrl+D intending to delete the current session
  3. Press Ctrl+D again (either for confirmation or by accident)
  4. Expected: Session is deleted
  5. Actual: The app exits

Suggested Fix

  • Use a different keybind for app exit (e.g. Ctrl+Q), so Ctrl+D is exclusively for session deletion
  • Or require a confirmation prompt ("Are you sure you want to exit?") before quitting
  • Or significantly increase the timeout window between the two presses so they aren't confused

Related Issues

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Feb 17, 2026
  2. github-actions commented on Apr 19, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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