You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[UX] Ctrl+D to delete session too easily exits the app #13950
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
Open OpenCode TUI
Press Ctrl+D intending to delete the current session
Press Ctrl+D again (either for confirmation or by accident)
Expected: Session is deleted
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
Activity
github-actions commentedon Apr 19, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.