initial clipboard support

This commit is contained in:
2021-09-10 15:03:35 -04:00
parent 72f36c5046
commit ca0cf57ffe
+1 -1
View File
@@ -530,7 +530,7 @@ if argument == 'copy':
term('gpg -d --output /dev/shm/' + shmfolder + '/' + shmentry + ' ' + directory + readentry + '.gpg')
copyline = open('/dev/shm/' + shmfolder + '/' + shmentry, 'r').readlines()
pyperclip.copy(copyline[1].replace('\n', ''))
print()
rmtree('/dev/shm/' + shmfolder)
# gen