MCPcopy Create free account
hub / github.com/anomalyco/opencode / cmd

Function cmd

packages/opencode/src/cli/cmd/run/footer.prompt.tsx:1063–1068  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1061 desc: "Shell mode",
1062 group: "Prompt",
1063 cmd() {
1064 if (shell()) return false
1065 if (!area || area.isDestroyed) return false
1066 if (area.cursorOffset !== 0) return false
1067 setShellMode(true)
1068 },
1069 },
1070 ],
1071 }))

Callers 7

index.tsFile · 0.90
startup.tsFile · 0.90
scrap.tsFile · 0.90
file.tsFile · 0.90
snapshot.tsFile · 0.90
ripgrep.tsFile · 0.90
lsp.tsFile · 0.90

Calls 2

shellFunction · 0.85
setShellModeFunction · 0.85

Tested by

no test coverage detected