OpenTUI: /quit or /exit commands missing in 1.0.x #2436

Closed
opened 2026-02-16 17:35:36 -05:00 by yindo · 5 comments
Owner

Originally created by @fraenky8 on GitHub (Nov 1, 2025).

Originally assigned to: @thdxr on GitHub.

Description

After upgrading to 1.0.7 the /q (and /exit) command is missing.

OpenCode version

1.0.7 via home brew

Steps to reproduce

  1. Open opencode
  2. type /q
  3. Expect /quit to be a suggested command

Screenshot and/or share link

Image Image

Operating System

MacOS

Terminal

Ghostty

Workaround

Ctrl+C and Ctrl+D are working.

Originally created by @fraenky8 on GitHub (Nov 1, 2025). Originally assigned to: @thdxr on GitHub. ### Description After upgrading to 1.0.7 the `/q` (and `/exit`) command is missing. ### OpenCode version 1.0.7 via home brew ### Steps to reproduce 1. Open `opencode` 2. type `/q` 3. Expect `/quit` to be a suggested command ### Screenshot and/or share link <img width="697" height="376" alt="Image" src="https://github.com/user-attachments/assets/7674579c-ba87-4f0c-bc62-e22a5145c78a" /> <img width="714" height="380" alt="Image" src="https://github.com/user-attachments/assets/c765113c-e653-4a24-a75b-11711b33a47d" /> ### Operating System MacOS ### Terminal Ghostty ### Workaround `Ctrl+C` and `Ctrl+D` are working.
yindo added the opentuibug labels 2026-02-16 17:35:36 -05:00
yindo closed this issue 2026-02-16 17:35:36 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2399: Reports that slash command aliases are not working, specifically mentioning /q for /exit
  • #366: Feature request for :q to quit opencode (vim-style)
  • #925: General request for better quit support, mentioning /quit command support
  • #3025: Related issue about opencode not exiting on Ctrl+D (another exit method)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 1, 2025): This issue might be a duplicate of existing issues. Please check: - #2399: Reports that slash command aliases are not working, specifically mentioning `/q` for `/exit` - #366: Feature request for `:q` to quit opencode (vim-style) - #925: General request for better quit support, mentioning `/quit` command support - #3025: Related issue about opencode not exiting on Ctrl+D (another exit method) Feel free to ignore if none of these address your specific case.
Author
Owner

@veracioux commented on GitHub (Nov 1, 2025):

@fraenky8 I have a PR for /exit here: https://github.com/sst/opencode/pull/3665

But for /quit and /q, I don't see that opencode pre-v1.0.x had them. (I was looking in v0.15.30). Which opencode version were you using that had them?

@veracioux commented on GitHub (Nov 1, 2025): @fraenky8 I have a PR for /exit here: https://github.com/sst/opencode/pull/3665 But for `/quit` and `/q`, I don't see that opencode pre-v1.0.x had them. (I was looking in v0.15.30). Which opencode version were you using that had them?
Author
Owner

@fraenky8 commented on GitHub (Nov 1, 2025):

Oh my bad, I should have checked the PRs before!

My previous version should be 0.15.30 - I just used it couple of hours ago.

According to the documentation, /quit and /q are aliases for /exit: https://opencode.ai/docs/tui/#exit - would be nice to include them to not break muscle memory 🙏

@fraenky8 commented on GitHub (Nov 1, 2025): Oh my bad, I should have checked the PRs before! My previous version should be 0.15.30 - I just used it couple of hours ago. According to the documentation, `/quit` and `/q` are aliases for `/exit`: https://opencode.ai/docs/tui/#exit - would be nice to include them to not break muscle memory 🙏
Author
Owner

@veracioux commented on GitHub (Nov 1, 2025):

Oh, I didn't know that :) I'll try to add those as well.

@veracioux commented on GitHub (Nov 1, 2025): Oh, I didn't know that :) I'll try to add those as well.
Author
Owner

@veracioux commented on GitHub (Nov 1, 2025):

Done

@veracioux commented on GitHub (Nov 1, 2025): Done
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2436