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