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

Function focus

packages/session-ui/src/components/line-comment.tsx:247–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245 })
246
247 const focus = () => refs.textarea?.focus()
248 const hold: JSX.EventHandlerUnion<HTMLButtonElement, MouseEvent> = (e) => {
249 e.preventDefault()
250 e.stopPropagation()

Callers 1

LineCommentEditorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected