mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-24 05:35:15 +00:00
tui: fix disabled commands from appearing in slash autocomplete
This commit is contained in:
parent
4cc9104942
commit
2fef02f487
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ function init() {
|
|||
},
|
||||
slashes() {
|
||||
return visibleOptions().flatMap((option) => {
|
||||
if (option.disabled) return []
|
||||
const slash = option.slash
|
||||
if (!slash) return []
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue