(key: Key, input: string)
| 425 | |
| 426 | // Check if this is a yank command (Ctrl+Y or Alt+Y) |
| 427 | function isYankKey(key: Key, input: string): boolean { |
| 428 | return (key.ctrl || key.meta) && input === 'y' |
| 429 | } |
| 430 | |
| 431 | function onInput(input: string, key: Key): void { |
| 432 | // Note: Image paste shortcut (chat:imagePaste) is handled via useKeybindings in PromptInput |