Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ current
Function
current
packages/tui/src/keymap.tsx:70–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
68
69
const stackApi = {
70
current() {
71
return stack.at(-1)?.mode ?? OPENCODE_BASE_MODE
72
},
73
push(mode: string) {
74
if (disposed) return () => {}
75
const id = Symbol(mode)
Callers
1
mount
Function · 0.50
Calls
1
at
Method · 0.80
Tested by
no test coverage detected