MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / handleKeyDown

Function handleKeyDown

frontend/src/components/Chat/InputArea.tsx:42–47  ·  view source on GitHub ↗
(e: KeyboardEvent<HTMLTextAreaElement>)

Source from the content-addressed store, hash-verified

40 };
41
42 const handleKeyDown = (e: KeyboardEvent<HTMLTextAreaElement>) => {
43 if (e.key === 'Enter' && !e.shiftKey) {
44 e.preventDefault();
45 handleSubmit(e);
46 }
47 };
48
49 const handleQuickAction = (action: typeof quickActions[0]) => {
50 if (currentPipeline) {

Callers

nothing calls this directly

Calls 1

handleSubmitFunction · 0.85

Tested by

no test coverage detected