Skip to content

Commit

Permalink
Merge pull request #7 from bapowell/master
Browse files Browse the repository at this point in the history
Added Windows clipboard capability
  • Loading branch information
jamesls committed Mar 17, 2016
2 parents b88bb50 + be4c659 commit cf3c8f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions keepassx/clipboard.py
Expand Up @@ -36,7 +36,12 @@ class LinuxClipboard(ClipBoard):
COPY_PROCESS = ['xclip', '-selection', 'clipboard']


class WindowsClipboard(ClipBoard):
COPY_PROCESS = ['clip']


_PLATFORMS = {
'Linux': LinuxClipboard,
'Darwin': OSXClipBoard,
'Windows': WindowsClipboard,
}

0 comments on commit cf3c8f3

Please sign in to comment.