Description
Slash commands /exit, /quit, and /q no longer appear in the autocomplete dropdown when typing /.
- They do appear in the command palette (Ctrl+P)
- They do not appear when typing
/ in the prompt
The command app.exit with slash: { name: "exit", aliases: ["quit", "q"] } is registered in app.tsx, and shows up in Ctrl+P as "Exit the app", but typing /exit or /quit in the prompt does not trigger autocomplete.
Version
OpenCode 1.14.42
Steps to reproduce
- Open OpenCode
- Type
/ in the prompt
- Expected:
/exit appears in the autocomplete dropdown (along with other slash commands)
- Actual: No
/exit, /quit, or /q in the dropdown
Workaround
- Ctrl+P → type "exit" → select "Exit the app" → works
- Ctrl+C / Ctrl+D → exit the app
Suspected cause
The v1.14.42 changelog mentions:
Simplified TUI keybinding config into a flat keybind format.
This refactor likely broke the slash command registration in the autocomplete. The app.exit command has the correct slash metadata in app.tsx, but the autocomplete's commands() function (which reads from command.slashes()) may no longer be picking it up correctly.
References
Description
Slash commands
/exit,/quit, and/qno longer appear in the autocomplete dropdown when typing/./in the promptThe command
app.exitwithslash: { name: "exit", aliases: ["quit", "q"] }is registered inapp.tsx, and shows up in Ctrl+P as "Exit the app", but typing/exitor/quitin the prompt does not trigger autocomplete.Version
OpenCode 1.14.42
Steps to reproduce
/in the prompt/exitappears in the autocomplete dropdown (along with other slash commands)/exit,/quit, or/qin the dropdownWorkaround
Suspected cause
The v1.14.42 changelog mentions:
This refactor likely broke the slash command registration in the autocomplete. The
app.exitcommand has the correctslashmetadata inapp.tsx, but the autocomplete'scommands()function (which reads fromcommand.slashes()) may no longer be picking it up correctly.References
/exitwith aliases/quitand/q/quitor/exitcommands missing in 1.0.x #3679 was a previous similar report (fixed by feat: tui: Port /exit command and all command aliases #3665)