Function
createPasteKeyEvent
(
name: 'paste-start' | 'paste-end',
)
Source from the content-addressed store, hash-verified
| 337 | keypressStream.write(nextData); |
| 338 | } |
| 339 | const createPasteKeyEvent = ( |
| 340 | name: 'paste-start' | 'paste-end', |
| 341 | ): Key => ({ |
| 342 | name, |
| 343 | ctrl: false, |
| 344 | meta: false, |
| 345 | shift: false, |
| 346 | paste: false, |
| 347 | sequence: '', |
| 348 | }); |
| 349 | if (isPrefixNext) { |
| 350 | handleKeypress(undefined, createPasteKeyEvent('paste-start')); |
| 351 | } else if (isSuffixNext) { |
Tested by
no test coverage detected