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

Function update

packages/tui/src/keymap.tsx:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 let disposed = false
64
65 const update = () => {
66 keymap.setData(OPENCODE_MODE_KEY, stack.at(-1)?.mode ?? OPENCODE_BASE_MODE)
67 }
68
69 const stackApi = {
70 current() {

Callers 2

pushFunction · 0.70
updateServerFunction · 0.50

Calls 1

atMethod · 0.80

Tested by

no test coverage detected