MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / recallHistory

Function recallHistory

src/ui/components/InputBox.tsx:99–104  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

97 }
98
99 const recallHistory = (index: number) => {
100 setHistoryIndex(index)
101 const entry = index === -1 ? "" : history[index]
102 setValue(entry)
103 setCursor(entry.length)
104 }
105
106 const insertFile = (file: string) => {
107 if (!atToken) return

Callers 1

InputBoxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected