Browse Source

Disabled clearing clipboard for stdout output

master
AGitBoy 6 years ago
parent
commit
63c45c7ad1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/schedule-cleanup.js

+ 1
- 1
src/schedule-cleanup.js View File

@ -27,8 +27,8 @@ module.exports = ({ lockBitwardenAfter, clearClipboardAfter, sessionFile, stdout
} }
}), }),
timeout(clearClipboardAfter * 1000).then(() => { timeout(clearClipboardAfter * 1000).then(() => {
clipboardy.writeSync('')
if(!stdout) { if(!stdout) {
clipboardy.writeSync('')
console.info('clipboard is cleared.') console.info('clipboard is cleared.')
} }
}) })


Loading…
Cancel
Save