(e: KeyboardEvent)
| 50 | } |
| 51 | |
| 52 | function isYankKey(e: KeyboardEvent): boolean { |
| 53 | return (e.ctrl || e.meta) && e.key === 'y' |
| 54 | } |
| 55 | |
| 56 | // Special key names that fall through the explicit handlers above the |
| 57 | // text-input branch (return/escape/arrows/home/end/tab/backspace/delete |