MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / setInputValue

Function setInputValue

cli/src/hooks/__tests__/use-input-history.test.ts:125–127  ·  view source on GitHub ↗
(value: { text: string; cursorPosition: number; lastEditDueToNav: boolean })

Source from the content-addressed store, hash-verified

123 }
124
125 const setInputValue = (value: { text: string; cursorPosition: number; lastEditDueToNav: boolean }) => {
126 state.inputValue = value.text
127 }
128
129 const setInputMode = (mode: InputMode) => {
130 state.inputMode = mode

Callers 11

ChatFunction · 0.85
trySelectAtIndexFunction · 0.85
handleInputChangeFunction · 0.85
routeUserPromptFunction · 0.85
useChatInputFunction · 0.85
useExitHandlerFunction · 0.85
useInputHistoryFunction · 0.85
navigateUpFunction · 0.85
navigateDownFunction · 0.85
bash-mode.test.tsFile · 0.85
ConfirmationInputDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected