Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async paste(text: string) {
await clipboard.copy(text);
await keyboard.pressKey(...pasteShortcut() as NutKey[]);
await keyboard.releaseKey(...pasteShortcut() as NutKey[]);
},
async pasteAndDecrypt(text: string) {
async setClipboard(text: string) {
await clipboard.copy(text);
},
async pasteClipboard() {