(e: KeyboardEvent<HTMLTextAreaElement>)
| 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 |
nothing calls this directly
no test coverage detected