MCPcopy Create free account
hub / github.com/aetherstate/GODMOD3.AI / handleKeyDown

Function handleKeyDown

ChatInput.tsx:638–643  ·  view source on GitHub ↗
(e: KeyboardEvent<HTMLTextAreaElement>)

Source from the content-addressed store, hash-verified

636 }
637
638 const handleKeyDown = (e: KeyboardEvent<HTMLTextAreaElement>) => {
639 if (e.key === 'Enter' && !e.shiftKey) {
640 e.preventDefault()
641 handleSubmit()
642 }
643 }
644
645 // Determine which result to show (live preview while typing, last result after send)
646 const displayResult = livePreview || autoTuneLastResult

Callers

nothing calls this directly

Calls 1

handleSubmitFunction · 0.70

Tested by

no test coverage detected